Copyright © 1992, 1997 International Organization for Standardization. All rights reserved.

This electronic document is for use during development and review of International Standards. Official printed copies of International Standards can be purchased from the ISO and the national standards organization of your country.

Next ClausePrevious Clause  

homeParent clauseNext major clausePrevious major clause


C.1 HyTime Lexical Types

C.1.1 Calendar-Related Lexical Types

<!LEXTYPE
   JULDATE        -- Julian date --

   '"JD" #ORDER SGMLCASE,"-"?,NUMBER'
   HyLex [unorm]
>
<!LEXTYPE
   UTC            -- UTC date and time --

   "UTCdate,UTCtime"
   HyLex
>
<!LEXTYPE
   fulldate       -- Full date --

   "UTCdate, ERA?"
   HyLex
>
<!LEXTYPE
   ERA            -- Era --

   '"BC"|"BCE"|"BP"|"AD"|"CE"'
   HyLex
>
<!LEXTYPE
   UTCdate        -- UTC date in era --

   'year,"-"?,month,"-"?,day'
   HyLex [unorm]
>
<!LEXTYPE
   monthday       -- Month and day in year --

   'month,"-"?,day'
   HyLex [unorm]
>
<!LEXTYPE
   year           -- Year in era --

   "[0-9][0-9][0-9][0-9]"
   REGEX
>
<!LEXTYPE
   month          -- Month in year --

   "0[1-9]|1[0-2]"
   REGEX
>
<!LEXTYPE
   day            -- Day in month --

   "[0-2][1-9]|[3][0-1]"
   REGEX
>
<!LEXTYPE
   UTCtime        -- UTC time of day --

   'hrminsec,(".",Digit+)?'
   HyLex [unorm]
>
<!LEXTYPE
   hrminsec       -- Time of day in hh:mm:ss format --

   'hour,":"?,minute,":"?,second'
   HyLex [unorm]
>
<!LEXTYPE
   hrmin          -- Time of day in hh:mm format --

   'hour,":"?,minute'
   HyLex [unorm]
>
<!LEXTYPE
   hour           -- Hour of day --

   "[0-1][0-9]|[2][0-3]"
   REGEX
>
<!LEXTYPE
   minute         -- Minute of hour --

   "[0-5][0-9]"
   REGEX
>
<!LEXTYPE
   second         -- Second of minute --

   "[0-5][0-9]|60"
   REGEX
>
<!LEXTYPE
   timeoff        -- Timezone offset boundary --

   "offset,(monthday,hour)?"
   HyLex
>
<!LEXTYPE
   offset         -- Time offset --

   '("+"|"-")?,hrmin'
   HyLex [unorm]
>
Next ClausePrevious Clause  

Copyright © 1992, 1997 International Organization for Standardization. All rights reserved.

This electronic document is for use during development and review of International Standards. Official printed copies of International Standards can be purchased from the ISO and the national standards organization of your country.


HTML generated from the original SGML source using a DSSSL style specification and the SGML output back-end of the JADE DSSSL engine.