Uploaded image for project: 'Specification'
  1. SPEC-77

Add cADL date/time pattern constraints

    Details

    • Type: Change Request
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 0.9
    • Component/s: ADL
    • Labels:
      None
    • Change Description:
      Hide
      The kinds of cosntraints needed are as follows:
      date: yyyy-mm-dd -- full date must be supplied
       yyyy-mm-?? -- partial date - day may be missing
       yyyy-??-?? -- partial date - month and day may be missing
       time: hh:mm:ss -- full time must be supplied
       hh:mm:?? -- partial time with missing seconds ok
       hh:??:?? -- partial time with missing minutes, seconds ok
      date_time:
       the above can be combined as follows:
       yyyy-mm-dd <any time constraint>
       yyyy-mm-?? ??:??:??
       yyyy-??-?? ??:??:??

      duration:
       any absolute duration, in ISO8601 form, e.g.:
       P0d0h1m0s -- 1 minute
       P1d8h0m0s -- 1 day 8 hrs
      Show
      The kinds of cosntraints needed are as follows: date: yyyy-mm-dd -- full date must be supplied  yyyy-mm-?? -- partial date - day may be missing  yyyy-??-?? -- partial date - month and day may be missing  time: hh:mm:ss -- full time must be supplied  hh:mm:?? -- partial time with missing seconds ok  hh:??:?? -- partial time with missing minutes, seconds ok date_time:  the above can be combined as follows:  yyyy-mm-dd <any time constraint>  yyyy-mm-?? ??:??:??  yyyy-??-?? ??:??:?? duration:  any absolute duration, in ISO8601 form, e.g.:  P0d0h1m0s -- 1 minute  P1d8h0m0s -- 1 day 8 hrs
    • Approved By:
      PG

      Description

      Currently cADL date/time constraints are in the form
      of ranges of absolute dates and times, which is not useful for
      archetypes which are intended to be time-independent.

        Attachments

          Activity

            People

            • Assignee:
              OLDthomasbeale OLDthomasbeale
              Reporter:
              OLDsamheard (Sam Heard) inactive (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: