Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-519

Implement calendarCenturyStart

    XMLWordPrintableJSON

Details

    Description

      per req DFDL-13-144R:

      Property Name: calendarCenturyStart Description: Non-negative Integer. Valid values 0 to 99. This property determines on parsing how two-digit years are interpreted. Specify the two digits that start a 100-year window that contains the current year. For example, if you specify 89, and the current year is 2006, all two-digit dates are interpreted as being in the range 1989 to 2088. A two-digit year less than 89 will be interpreted as 20nn and a two-digit year more than or equal to 89 will be treated as 19nn. Annotation: dfdl:element, dfdl:simpleType

      currently we have tests dateCalendarCenturyStart and dateCalendarCenturyStart2 in:

      daffodil-test/src/test/scala-debug/edu/illinois/ncsa/daffodil/section05/simple_types/TestSimpleTypes2.scala
      daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section05/simple_types/SimpleTypes.tdml

      that are dependent on the completion of this feature.

      Attachments

        Activity

          People

            Unassigned Unassigned
            daffodil-jchab Jessie Chab
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: