Modello
  1. Modello
  2. MODELLO-178

add xml.format="long" option to read/write a date field as a long value

    Details

    • Complexity:
      Intermediate
    • Number of attachments :
      0

      Description

      before Modello 1.0, XPP3 plugin was generating reader/writer code with long as default format for dates (other plugins were using other default formats)

      MODELLO-126 unified default date format to yyyy-MM-dd'T'HH:mm:ss.SSS, which is the more accurate date format compatible with XML Schema
      then it is impossible with Modello 1.0 to read/write a date as a long, since custom format with xml.format define a SimpleDateFormat pattern, which does not provide such option

      idea: xml.format="long" option value, which won't be considered as a SimpleDateFormat pattern but as a special case to treat the date as long

        Issue Links

          Activity

          Herve Boutemy made changes -
          Field Original Value New Value
          Link This issue relates to MODELLO-126 [ MODELLO-126 ]
          Herve Boutemy made changes -
          Component/s modello-plugin-xpp3 [ 11012 ]
          Component/s modello-plugin-xsd [ 11017 ]
          Fix Version/s 1.0.1 [ 14892 ]
          Component/s modello-plugin-dom4j [ 12370 ]
          Component/s modello-plugin-stax [ 12491 ]
          Component/s modello-plugin-jdom [ 13670 ]
          Hide
          Herve Boutemy added a comment -

          done in r1183

          Show
          Herve Boutemy added a comment - done in r1183
          Herve Boutemy made changes -
          Assignee Herve Boutemy [ hboutemy ]
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              Herve Boutemy
              Reporter:
              Herve Boutemy
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: