protected void _acceptJsonFormatVisitor(
     JsonFormatVisitorWrapper visitor, JavaType typeHint, boolean asNumber)
     throws JsonMappingException {
   if (asNumber) {
     if (_usesArrays) {
       JsonArrayFormatVisitor v2 = visitor.expectArrayFormat(typeHint);
       if (v2 != null) {
         v2.itemsFormat(JsonFormatTypes.INTEGER);
       }
     } else {
       JsonIntegerFormatVisitor v2 = visitor.expectIntegerFormat(typeHint);
       if (v2 != null) {
         v2.numberType(JsonParser.NumberType.LONG);
         v2.format(JsonValueFormat.UTC_MILLISEC);
       }
     }
   } else {
     JsonStringFormatVisitor v2 = visitor.expectStringFormat(typeHint);
     if (v2 != null) {
       v2.format(JsonValueFormat.DATE_TIME);
     }
   }
 }
 public void acceptJsonFormatVisitor(
     JsonFormatVisitorWrapper jsonformatvisitorwrapper, JavaType javatype) {
   jsonformatvisitorwrapper.expectIntegerFormat(javatype);
 }