module ISO8601DateTimePatterns { //========================================================================= // Imports //========================================================================= import from nc all; //========================================================================= // Templates //========================================================================= //============================DATE FORMS================================== //***************************************************************************** //* //* @reference ISO_8601 $4.1.2 //* //* @desc Matches all calendar date representations (complete, reduced //* accuracy and expanded) in basic formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateCalendarBasic := pattern "{nc.yearExpansionOpt}({nc.century}|{nc.year}({nc.month}{nc.dayOfMonth}|" & "{dash}{nc.month})#(,1))"; //***************************************************************************** //* //* @reference ISO_8601 $4.1.2 //* //* @desc Matches all calendar date representations (complete and expanded) //* in extended formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateCalendarExtended := pattern "{nc.yearExpansionOpt}{nc.year}{dash}{nc.month}{dash}{nc.dayOfMonth}"; //***************************************************************************** //* //* @reference ISO_8601 $4.1.2 //* //* @desc Matches all calendar date representations (complete, reduced //* accuracy and expanded) in basic and extended formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateCalendar := ( t_ISO8601DateCalendarBasic, t_ISO8601DateCalendarExtended ) //***************************************************************************** //* //* @reference ISO_8601 $4.1.3 //* //* @desc Matches all ordinal date representations (complete, reduced //* accuracy and expanded) in basic formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateOrdinalBasic := pattern "{nc.yearExpansionOpt}{nc.year}{nc.dayOfYear}"; //***************************************************************************** //* //* @reference ISO_8601 $4.1.3 //* //* @desc Matches all ordinal date representations (complete, reduced //* accuracy and expanded) in basic formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateOrdinalExtended := pattern "{nc.yearExpansionOpt}{nc.year}{dash}{nc.dayOfYear}"; //***************************************************************************** //* //* @reference ISO_8601 $4.1.3 //* //* @desc Matches all ordinal date representations (complete, reduced //* accuracy and expanded) in basic and extended formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateOrdinal := ( t_ISO8601DateOrdinalBasic, t_ISO8601DateOrdinalExtended ) //***************************************************************************** //* //* @reference ISO_8601 $4.1.4 //* //* @desc Matches all week date representations (complete, reduced //* accuracy and expanded) in basic formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateWeekBasic := pattern "{nc.yearExpansionOpt}{nc.year}{nc.week}{nc.dayOfWeek}#(,1)"; //***************************************************************************** //* //* @reference ISO_8601 $4.1.4 //* //* @desc Matches all week date representations (complete, reduced //* accuracy and expanded) in extended formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateWeekExtended := pattern "{nc.yearExpansionOpt}{nc.year}{dash}{nc.week}({dash}{nc.dayOfWeek})#(,1)"; //***************************************************************************** //* //* @reference ISO_8601 $4.1.4 //* //* @desc Matches all week date representations (complete, reduced //* accuracy and expanded) in basic and extended formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateWeek := ( t_ISO8601DateWeekBasic, t_ISO8601DateWeekExtended ) //***************************************************************************** //* //* @reference ISO_8601 $4.1 //* //* @desc Matches all date representations (complete, reduced accuracy //* and expanded) in basic formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateBasic := ( t_ISO8601DateCalendarBasic, t_ISO8601DateOrdinalBasic, t_ISO8601DateWeekBasic ) //***************************************************************************** //* //* @reference ISO_8601 $4.1 //* //* @desc Matches all date representations (complete, reduced accuracy //* and expanded) in extended formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateExtended := ( t_ISO8601DateCalendarExtended, t_ISO8601DateOrdinalExtended, t_ISO8601DateWeekExtended ) //***************************************************************************** //* //* @reference ISO_8601 //* //* @desc Matches all date representations (complete, reduced accuracy and //* expanded) in basic and extended formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601Date := ( t_ISO8601DateBasic, t_ISO8601DateExtended ) //============================TIME-OF-DAY============================ //***************************************************************************** //* //* @reference ISO_8601 $4.2 //* //* @desc Matches all time of day representations in basic formats //* Supports all time of day representations as local time: complete //* ($4.2.2.2), reduced accuracy($4.2.2.3) and with decimal fraction //* ($4.2.2.4), midnight($4.2.3); UTC of day ($4.2.4) and difference //* between local time and UTC of day ($4.2.5)and the optional time //* designator //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601TimeBasic := pattern "{nc.optionalT}({nc.hour}({nc.minute}({nc.second}{nc.sFraction}#(,1)|60|" & "{nc.mFraction})#(,1)|60|{nc.hFraction})#(,1)|{nc.endOfDay})" & "{nc.optZorTimeZone}"; //***************************************************************************** //* //* @reference ISO_8601 $4.2 //* //* @desc Matches all time of day representations in extended formats //* Supports all time of day representations as local time: complete //* ($4.2.2.2), reduced accuracy($4.2.2.3) and with decimal fraction //* ($4.2.2.4), midnight($4.2.3); UTC of day ($4.2.4) and difference between //* local time and UTC of day ($4.2.5)and the optional time designator //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601TimeExtended := pattern "{nc.optionalT}({nc.hour}{colon}({nc.minute}({colon}({nc.second}" & "{nc.sFraction}#(,1)|60)|{nc.mFraction})#(,1)|60)|{nc.endOfDayExt})" & "{nc.optZorTimeZoneExt}"; //***************************************************************************** //* //* @reference ISO_8601 $4.2 //* //* @desc Matches all time of day representations in basic and extended formats //* Supports all time of day representations as local time: complete //* ($4.2.2.2), reduced accuracy($4.2.2.3) and with decimal fraction //* ($4.2.2.4), midnight($4.2.3); UTC of day ($4.2.4) and difference between //* local time and UTC of day ($4.2.5)and the optional time designator //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601Time := ( t_ISO8601TimeBasic, t_ISO8601TimeExtended ) //============================DATE-TIME FORMATS================================ //***************************************************************************** //* //* @reference ISO_8601 $4.3 //* //* @desc Matches all date/time of day representations in basic formats //* //* @remark Acc. to $4.3... ?) (...) The //* time part may be of reduced accuracy. //* @remark There is no requirement in ISO8601 to keep reduced accuracy //* compatible in the start and the end date/time; this may result //* "strange" or in some cases unclear (in these cases agreement is //* required between the communicating sides) time interval //* representations, however these are allowed by this template //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601IntervalStartEndBasic := pattern "{nc.yearExpansionOpt}{nc.year}({nc.month}{nc.dayOfMonth}|{nc.dayOfYear}|" & "{nc.week}{nc.dayOfWeek})T({nc.hour}({nc.minute}({nc.second}{nc.sFraction}" & "#(,1)|60|{nc.mFraction})#(,1)|60|{nc.hFraction})#(,1){nc.optZorTimeZone}|" & "{nc.endOfDay}{nc.optZorTimeZone})/({nc.yearExpansionOpt}{nc.year}" & "({nc.month}{nc.dayOfMonth}|{nc.dayOfYear}|{nc.week}{nc.dayOfWeek})|" & "({nc.month}#(,1){nc.dayOfMonth}|{nc.dayOfYear}|{nc.week}#(,1){nc.dayOfWeek}))"& "T({nc.hour}({nc.minute}({nc.second}{nc.sFraction}#(,1)|60|{nc.mFraction})" & "#(,1)|60|{nc.hFraction})#(,1){nc.optZorTimeZone}|{nc.endOfDay}" & "{nc.optZorTimeZone})" //***************************************************************************** //* //* @reference ISO_8601 $4.4.3 //* //* @desc Matches both complete and reduced accuracy (see note below)time interval //* representations identified by start and end and using the extended format //* //* @remark $ 4.4.4.5 is contradictory as allows omitting higher order time //* elements in the part representing end date/time (the expression //* after the solidus), while the time part may also be of reduced //* accuracy (either by omitting the lower order elements or by a //* decimal fraction). (...) The //* time part may be of reduced accuracy. //* @remark There is no requirement in ISO8601 to keep reduced accuracy //* compatible in the start and the end date/time; this may result //* "strange" or in some cases unclear (in these cases agreement is //* required between the communicating sides) time interval //* representations, however these are allowed by this template //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601IntervalStartEndExtended := pattern "{nc.yearExpansionOpt}{nc.year}{dash}({nc.month}{dash}{nc.dayOfMonth}|" & "{nc.dayOfYear}|{nc.week}{dash}{nc.dayOfWeek})T({nc.hour}{colon}" & "({nc.minute}({colon}({nc.second}{nc.sFraction}#(,1)|60)|{nc.mFraction})" & "#(,1)|60)|{nc.endOfDayExt}){nc.optZorTimeZoneExt}/({nc.yearExpansionOpt}" & "{nc.year}({dash}{nc.month}{dash}{nc.dayOfMonth}|{dash}{nc.dayOfYear}|" & "{dash}{nc.week}{dash}{nc.dayOfWeek})|({nc.month}{dash})#(,1)" & "{nc.dayOfMonth}|{nc.week}{dash}{nc.dayOfWeek})T({nc.hour}{colon}" & "({nc.minute}({colon}({nc.second}{nc.sFraction}#(,1)|60)|{nc.mFraction})" & "#(,1)|60)|{nc.endOfDayExt}){nc.optZorTimeZoneExt}" //***************************************************************************** //* //* @reference ISO_8601 $4.4.3 //* //* @desc Matches both complete and reduced accuracy (see note below)time //* interval representations identified by start and end and using the basic //* or the extended format //* //* @remark $ 4.4.4.5 is contradictory as allows omitting higher order time //* elements in the part representing end date/time (the expression //* after the solidus), while the time part may also be of reduced //* accuracy (either by omitting the lower order elements or by a //* decimal fraction).
Language:English
Score: 445688.96
-
https://www.itu.int/wftp3/Publ...ateTimePatterns.ttcn3.2012.txt
Data Source: un
module ISO8601DateTimePatterns { //========================================================================= // Imports //========================================================================= import from nc all; //========================================================================= // Templates //========================================================================= //============================DATE FORMS================================== //***************************************************************************** //* //* @reference ISO_8601 $4.1.2 //* //* @desc Matches all calendar date representations (complete, reduced //* accuracy and expanded) in basic formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateCalendarBasic := pattern "{nc.yearExpansionOpt}({nc.century}|{nc.year}({nc.month}{nc.dayOfMonth}|" & "{dash}{nc.month})#(,1))"; //***************************************************************************** //* //* @reference ISO_8601 $4.1.2 //* //* @desc Matches all calendar date representations (complete and expanded) //* in extended formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateCalendarExtended := pattern "{nc.yearExpansionOpt}{nc.year}{dash}{nc.month}{dash}{nc.dayOfMonth}"; //***************************************************************************** //* //* @reference ISO_8601 $4.1.2 //* //* @desc Matches all calendar date representations (complete, reduced //* accuracy and expanded) in basic and extended formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateCalendar := ( t_ISO8601DateCalendarBasic, t_ISO8601DateCalendarExtended ) //***************************************************************************** //* //* @reference ISO_8601 $4.1.3 //* //* @desc Matches all ordinal date representations (complete, reduced //* accuracy and expanded) in basic formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateOrdinalBasic := pattern "{nc.yearExpansionOpt}{nc.year}{nc.dayOfYear}"; //***************************************************************************** //* //* @reference ISO_8601 $4.1.3 //* //* @desc Matches all ordinal date representations (complete, reduced //* accuracy and expanded) in basic formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateOrdinalExtended := pattern "{nc.yearExpansionOpt}{nc.year}{dash}{nc.dayOfYear}"; //***************************************************************************** //* //* @reference ISO_8601 $4.1.3 //* //* @desc Matches all ordinal date representations (complete, reduced //* accuracy and expanded) in basic and extended formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateOrdinal := ( t_ISO8601DateOrdinalBasic, t_ISO8601DateOrdinalExtended ) //***************************************************************************** //* //* @reference ISO_8601 $4.1.4 //* //* @desc Matches all week date representations (complete, reduced //* accuracy and expanded) in basic formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateWeekBasic := pattern "{nc.yearExpansionOpt}{nc.year}{nc.week}{nc.dayOfWeek}#(,1)"; //***************************************************************************** //* //* @reference ISO_8601 $4.1.4 //* //* @desc Matches all week date representations (complete, reduced //* accuracy and expanded) in extended formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateWeekExtended := pattern "{nc.yearExpansionOpt}{nc.year}{dash}{nc.week}({dash}{nc.dayOfWeek})#(,1)"; //***************************************************************************** //* //* @reference ISO_8601 $4.1.4 //* //* @desc Matches all week date representations (complete, reduced //* accuracy and expanded) in basic and extended formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateWeek := ( t_ISO8601DateWeekBasic, t_ISO8601DateWeekExtended ) //***************************************************************************** //* //* @reference ISO_8601 $4.1 //* //* @desc Matches all date representations (complete, reduced accuracy //* and expanded) in basic formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateBasic := ( t_ISO8601DateCalendarBasic, t_ISO8601DateOrdinalBasic, t_ISO8601DateWeekBasic ) //***************************************************************************** //* //* @reference ISO_8601 $4.1 //* //* @desc Matches all date representations (complete, reduced accuracy //* and expanded) in extended formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateExtended := ( t_ISO8601DateCalendarExtended, t_ISO8601DateOrdinalExtended, t_ISO8601DateWeekExtended ) //***************************************************************************** //* //* @reference ISO_8601 //* //* @desc Matches all date representations (complete, reduced accuracy and //* expanded) in basic and extended formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601Date := ( t_ISO8601DateBasic, t_ISO8601DateExtended ) //============================TIME-OF-DAY============================ //***************************************************************************** //* //* @reference ISO_8601 $4.2 //* //* @desc Matches all time of day representations in basic formats //* Supports all time of day representations as local time: complete //* ($4.2.2.2), reduced accuracy($4.2.2.3) and with decimal fraction //* ($4.2.2.4), midnight($4.2.3); UTC of day ($4.2.4) and difference //* between local time and UTC of day ($4.2.5)and the optional time //* designator //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601TimeBasic := pattern "{nc.optionalT}({nc.hour}({nc.minute}({nc.second}{nc.sFraction}#(,1)|60|" & "{nc.mFraction})#(,1)|60|{nc.hFraction})#(,1)|{nc.endOfDay})" & "{nc.optZorTimeZone}"; //***************************************************************************** //* //* @reference ISO_8601 $4.2 //* //* @desc Matches all time of day representations in extended formats //* Supports all time of day representations as local time: complete //* ($4.2.2.2), reduced accuracy($4.2.2.3) and with decimal fraction //* ($4.2.2.4), midnight($4.2.3); UTC of day ($4.2.4) and difference between //* local time and UTC of day ($4.2.5)and the optional time designator //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601TimeExtended := pattern "{nc.optionalT}({nc.hour}{colon}({nc.minute}({colon}({nc.second}" & "{nc.sFraction}#(,1)|60)|{nc.mFraction})#(,1)|60)|{nc.endOfDayExt})" & "{nc.optZorTimeZoneExt}"; //***************************************************************************** //* //* @reference ISO_8601 $4.2 //* //* @desc Matches all time of day representations in basic and extended formats //* Supports all time of day representations as local time: complete //* ($4.2.2.2), reduced accuracy($4.2.2.3) and with decimal fraction //* ($4.2.2.4), midnight($4.2.3); UTC of day ($4.2.4) and difference between //* local time and UTC of day ($4.2.5)and the optional time designator //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601Time := ( t_ISO8601TimeBasic, t_ISO8601TimeExtended ) //============================DATE-TIME FORMATS================================ //***************************************************************************** //* //* @reference ISO_8601 $4.3 //* //* @desc Matches all date/time of day representations in basic formats //* //* @remark Acc. to $4.3... ?) (...) The //* time part may be of reduced accuracy. //* @remark There is no requirement in ISO8601 to keep reduced accuracy //* compatible in the start and the end date/time; this may result //* "strange" or in some cases unclear (in these cases agreement is //* required between the communicating sides) time interval //* representations, however these are allowed by this template //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601IntervalStartEndBasic := pattern "{nc.yearExpansionOpt}{nc.year}({nc.month}{nc.dayOfMonth}|{nc.dayOfYear}|" & "{nc.week}{nc.dayOfWeek})T({nc.hour}({nc.minute}({nc.second}{nc.sFraction}" & "#(,1)|60|{nc.mFraction})#(,1)|60|{nc.hFraction})#(,1){nc.optZorTimeZone}|" & "{nc.endOfDay}{nc.optZorTimeZone})/({nc.yearExpansionOpt}{nc.year}" & "({nc.month}{nc.dayOfMonth}|{nc.dayOfYear}|{nc.week}{nc.dayOfWeek})|" & "({nc.month}#(,1){nc.dayOfMonth}|{nc.dayOfYear}|{nc.week}#(,1){nc.dayOfWeek}))"& "T({nc.hour}({nc.minute}({nc.second}{nc.sFraction}#(,1)|60|{nc.mFraction})" & "#(,1)|60|{nc.hFraction})#(,1){nc.optZorTimeZone}|{nc.endOfDay}" & "{nc.optZorTimeZone})" //***************************************************************************** //* //* @reference ISO_8601 $4.4.3 //* //* @desc Matches both complete and reduced accuracy (see note below)time interval //* representations identified by start and end and using the extended format //* //* @remark $ 4.4.4.5 is contradictory as allows omitting higher order time //* elements in the part representing end date/time (the expression //* after the solidus), while the time part may also be of reduced //* accuracy (either by omitting the lower order elements or by a //* decimal fraction). (...) The //* time part may be of reduced accuracy. //* @remark There is no requirement in ISO8601 to keep reduced accuracy //* compatible in the start and the end date/time; this may result //* "strange" or in some cases unclear (in these cases agreement is //* required between the communicating sides) time interval //* representations, however these are allowed by this template //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601IntervalStartEndExtended := pattern "{nc.yearExpansionOpt}{nc.year}{dash}({nc.month}{dash}{nc.dayOfMonth}|" & "{nc.dayOfYear}|{nc.week}{dash}{nc.dayOfWeek})T({nc.hour}{colon}" & "({nc.minute}({colon}({nc.second}{nc.sFraction}#(,1)|60)|{nc.mFraction})" & "#(,1)|60)|{nc.endOfDayExt}){nc.optZorTimeZoneExt}/({nc.yearExpansionOpt}" & "{nc.year}({dash}{nc.month}{dash}{nc.dayOfMonth}|{dash}{nc.dayOfYear}|" & "{dash}{nc.week}{dash}{nc.dayOfWeek})|({nc.month}{dash})#(,1)" & "{nc.dayOfMonth}|{nc.week}{dash}{nc.dayOfWeek})T({nc.hour}{colon}" & "({nc.minute}({colon}({nc.second}{nc.sFraction}#(,1)|60)|{nc.mFraction})" & "#(,1)|60)|{nc.endOfDayExt}){nc.optZorTimeZoneExt}" //***************************************************************************** //* //* @reference ISO_8601 $4.4.3 //* //* @desc Matches both complete and reduced accuracy (see note below)time //* interval representations identified by start and end and using the basic //* or the extended format //* //* @remark $ 4.4.4.5 is contradictory as allows omitting higher order time //* elements in the part representing end date/time (the expression //* after the solidus), while the time part may also be of reduced //* accuracy (either by omitting the lower order elements or by a //* decimal fraction).
Language:English
Score: 445688.96
-
https://www.itu.int/wftp3/Publ.../ISO8601DateTimePatterns.ttcn3
Data Source: un
ISO8601DateTimePatterns.ttcn3 (ITU-T Z.167 (05/2012))
-- TTCN3 module extracted from ITU-T Z.167 (05/2012) module ISO8601DateTimePatterns { //========================================================================= // Imports //========================================================================= import from nc all; //========================================================================= // Templates //========================================================================= //============================DATE FORMS================================== //***************************************************************************** //* //* @reference ISO_8601 $4.1.2 //* //* @desc Matches all calendar date representations (complete, reduced //* accuracy and expanded) in basic formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateCalendarBasic := pattern "{nc.yearExpansionOpt}({nc.century}|{nc.year}({nc.month}{nc.dayOfMonth}|" & "{dash}{nc.month})#(,1))"; //***************************************************************************** //* //* @reference ISO_8601 $4.1.2 //* //* @desc Matches all calendar date representations (complete and expanded) //* in extended formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateCalendarExtended := pattern "{nc.yearExpansionOpt}{nc.year}{dash}{nc.month}{dash}{nc.dayOfMonth}"; //***************************************************************************** //* //* @reference ISO_8601 $4.1.2 //* //* @desc Matches all calendar date representations (complete, reduced //* accuracy and expanded) in basic and extended formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateCalendar := ( t_ISO8601DateCalendarBasic, t_ISO8601DateCalendarExtended ) //***************************************************************************** //* //* @reference ISO_8601 $4.1.3 //* //* @desc Matches all ordinal date representations (complete, reduced //* accuracy and expanded) in basic formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateOrdinalBasic := pattern "{nc.yearExpansionOpt}{nc.year}{nc.dayOfYear}"; //***************************************************************************** //* //* @reference ISO_8601 $4.1.3 //* //* @desc Matches all ordinal date representations (complete, reduced //* accuracy and expanded) in basic formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateOrdinalExtended := pattern "{nc.yearExpansionOpt}{nc.year}{dash}{nc.dayOfYear}"; //***************************************************************************** //* //* @reference ISO_8601 $4.1.3 //* //* @desc Matches all ordinal date representations (complete, reduced //* accuracy and expanded) in basic and extended formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateOrdinal := ( t_ISO8601DateOrdinalBasic, t_ISO8601DateOrdinalExtended ) //***************************************************************************** //* //* @reference ISO_8601 $4.1.4 //* //* @desc Matches all week date representations (complete, reduced //* accuracy and expanded) in basic formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateWeekBasic := pattern "{nc.yearExpansionOpt}{nc.year}{nc.week}{nc.dayOfWeek}#(,1)"; //***************************************************************************** //* //* @reference ISO_8601 $4.1.4 //* //* @desc Matches all week date representations (complete, reduced //* accuracy and expanded) in extended formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateWeekExtended := pattern "{nc.yearExpansionOpt}{nc.year}{dash}{nc.week}({dash}{nc.dayOfWeek})#(,1)"; //***************************************************************************** //* //* @reference ISO_8601 $4.1.4 //* //* @desc Matches all week date representations (complete, reduced //* accuracy and expanded) in basic and extended formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateWeek := ( t_ISO8601DateWeekBasic, t_ISO8601DateWeekExtended ) //***************************************************************************** //* //* @reference ISO_8601 $4.1 //* //* @desc Matches all date representations (complete, reduced accuracy //* and expanded) in basic formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateBasic := ( t_ISO8601DateCalendarBasic, t_ISO8601DateOrdinalBasic, t_ISO8601DateWeekBasic ) //***************************************************************************** //* //* @reference ISO_8601 $4.1 //* //* @desc Matches all date representations (complete, reduced accuracy //* and expanded) in extended formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateExtended := ( t_ISO8601DateCalendarExtended, t_ISO8601DateOrdinalExtended, t_ISO8601DateWeekExtended ) //***************************************************************************** //* //* @reference ISO_8601 //* //* @desc Matches all date representations (complete, reduced accuracy and //* expanded) in basic and extended formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601Date := ( t_ISO8601DateBasic, t_ISO8601DateExtended ) //============================TIME-OF-DAY============================ //***************************************************************************** //* //* @reference ISO_8601 $4.2 //* //* @desc Matches all time of day representations in basic formats //* Supports all time of day representations as local time: complete //* ($4.2.2.2), reduced accuracy($4.2.2.3) and with decimal fraction //* ($4.2.2.4), midnight($4.2.3); UTC of day ($4.2.4) and difference //* between local time and UTC of day ($4.2.5)and the optional time //* designator //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601TimeBasic := pattern "{nc.optionalT}({nc.hour}({nc.minute}({nc.second}{nc.sFraction}#(,1)|60|" & "{nc.mFraction})#(,1)|60|{nc.hFraction})#(,1)|{nc.endOfDay})" & "{nc.optZorTimeZone}"; //***************************************************************************** //* //* @reference ISO_8601 $4.2 //* //* @desc Matches all time of day representations in extended formats //* Supports all time of day representations as local time: complete //* ($4.2.2.2), reduced accuracy($4.2.2.3) and with decimal fraction //* ($4.2.2.4), midnight($4.2.3); UTC of day ($4.2.4) and difference between //* local time and UTC of day ($4.2.5)and the optional time designator //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601TimeExtended := pattern "{nc.optionalT}({nc.hour}{colon}({nc.minute}({colon}({nc.second}" & "{nc.sFraction}#(,1)|60)|{nc.mFraction})#(,1)|60)|{nc.endOfDayExt})" & "{nc.optZorTimeZoneExt}"; //***************************************************************************** //* //* @reference ISO_8601 $4.2 //* //* @desc Matches all time of day representations in basic and extended formats //* Supports all time of day representations as local time: complete //* ($4.2.2.2), reduced accuracy($4.2.2.3) and with decimal fraction //* ($4.2.2.4), midnight($4.2.3); UTC of day ($4.2.4) and difference between //* local time and UTC of day ($4.2.5)and the optional time designator //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601Time := ( t_ISO8601TimeBasic, t_ISO8601TimeExtended ) //============================DATE-TIME FORMATS================================ //***************************************************************************** //* //* @reference ISO_8601 $4.3 //* //* @desc Matches all date/time of day representations in basic formats //* //* @remark Acc. to $4.3... ?) (...) The //* time part may be of reduced accuracy. //* @remark There is no requirement in ISO8601 to keep reduced accuracy //* compatible in the start and the end date/time; this may result //* "strange" or in some cases unclear (in these cases agreement is //* required between the communicating sides) time interval //* representations, however these are allowed by this template //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601IntervalStartEndBasic := pattern "{nc.yearExpansionOpt}{nc.year}({nc.month}{nc.dayOfMonth}|{nc.dayOfYear}|" & "{nc.week}{nc.dayOfWeek})T({nc.hour}({nc.minute}({nc.second}{nc.sFraction}" & "#(,1)|60|{nc.mFraction})#(,1)|60|{nc.hFraction})#(,1){nc.optZorTimeZone}|" & "{nc.endOfDay}{nc.optZorTimeZone})/({nc.yearExpansionOpt}{nc.year}" & "({nc.month}{nc.dayOfMonth}|{nc.dayOfYear}|{nc.week}{nc.dayOfWeek})|" & "({nc.month}#(,1){nc.dayOfMonth}|{nc.dayOfYear}|{nc.week}#(,1){nc.dayOfWeek}))"& "T({nc.hour}({nc.minute}({nc.second}{nc.sFraction}#(,1)|60|{nc.mFraction})" & "#(,1)|60|{nc.hFraction})#(,1){nc.optZorTimeZone}|{nc.endOfDay}" & "{nc.optZorTimeZone})" //***************************************************************************** //* //* @reference ISO_8601 $4.4.3 //* //* @desc Matches both complete and reduced accuracy (see note below)time interval //* representations identified by start and end and using the extended format //* //* @remark $ 4.4.4.5 is contradictory as allows omitting higher order time //* elements in the part representing end date/time (the expression //* after the solidus), while the time part may also be of reduced //* accuracy (either by omitting the lower order elements or by a //* decimal fraction). (...) The //* time part may be of reduced accuracy. //* @remark There is no requirement in ISO8601 to keep reduced accuracy //* compatible in the start and the end date/time; this may result //* "strange" or in some cases unclear (in these cases agreement is //* required between the communicating sides) time interval //* representations, however these are allowed by this template //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601IntervalStartEndExtended := pattern "{nc.yearExpansionOpt}{nc.year}{dash}({nc.month}{dash}{nc.dayOfMonth}|" & "{nc.dayOfYear}|{nc.week}{dash}{nc.dayOfWeek})T({nc.hour}{colon}" & "({nc.minute}({colon}({nc.second}{nc.sFraction}#(,1)|60)|{nc.mFraction})" & "#(,1)|60)|{nc.endOfDayExt}){nc.optZorTimeZoneExt}/({nc.yearExpansionOpt}" & "{nc.year}({dash}{nc.month}{dash}{nc.dayOfMonth}|{dash}{nc.dayOfYear}|" & "{dash}{nc.week}{dash}{nc.dayOfWeek})|({nc.month}{dash})#(,1)" & "{nc.dayOfMonth}|{nc.week}{dash}{nc.dayOfWeek})T({nc.hour}{colon}" & "({nc.minute}({colon}({nc.second}{nc.sFraction}#(,1)|60)|{nc.mFraction})" & "#(,1)|60)|{nc.endOfDayExt}){nc.optZorTimeZoneExt}" //***************************************************************************** //* //* @reference ISO_8601 $4.4.3 //* //* @desc Matches both complete and reduced accuracy (see note below)time //* interval representations identified by start and end and using the basic //* or the extended format //* //* @remark $ 4.4.4.5 is contradictory as allows omitting higher order time //* elements in the part representing end date/time (the expression //* after the solidus), while the time part may also be of reduced //* accuracy (either by omitting the lower order elements or by a //* decimal fraction).
Language:English
Score: 445688.96
-
https://www.itu.int/wftp3/Publ...2/ISO8601DateTimePatterns.html
Data Source: un
module ISO8601DateTimePatterns { //========================================================================= // Imports //========================================================================= import from nc all; //========================================================================= // Templates //========================================================================= //============================DATE FORMS================================== //***************************************************************************** //* //* @reference ISO_8601 $4.1.2 //* //* @desc Matches all calendar date representations (complete, reduced //* accuracy and expanded) in basic formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateCalendarBasic := pattern "{nc.yearExpansionOpt}({nc.century}|{nc.year}({nc.month}{nc.dayOfMonth}|" & "{dash}{nc.month})#(,1))"; //***************************************************************************** //* //* @reference ISO_8601 $4.1.2 //* //* @desc Matches all calendar date representations (complete and expanded) //* in extended formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateCalendarExtended := pattern "{nc.yearExpansionOpt}{nc.year}{dash}{nc.month}{dash}{nc.dayOfMonth}"; //***************************************************************************** //* //* @reference ISO_8601 $4.1.2 //* //* @desc Matches all calendar date representations (complete, reduced //* accuracy and expanded) in basic and extended formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateCalendar := ( t_ISO8601DateCalendarBasic, t_ISO8601DateCalendarExtended ) //***************************************************************************** //* //* @reference ISO_8601 $4.1.3 //* //* @desc Matches all ordinal date representations (complete, reduced //* accuracy and expanded) in basic formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateOrdinalBasic := pattern "{nc.yearExpansionOpt}{nc.year}{nc.dayOfYear}"; //***************************************************************************** //* //* @reference ISO_8601 $4.1.3 //* //* @desc Matches all ordinal date representations (complete, reduced //* accuracy and expanded) in basic formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateOrdinalExtended := pattern "{nc.yearExpansionOpt}{nc.year}{dash}{nc.dayOfYear}"; //***************************************************************************** //* //* @reference ISO_8601 $4.1.3 //* //* @desc Matches all ordinal date representations (complete, reduced //* accuracy and expanded) in basic and extended formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateOrdinal := ( t_ISO8601DateOrdinalBasic, t_ISO8601DateOrdinalExtended ) //***************************************************************************** //* //* @reference ISO_8601 $4.1.4 //* //* @desc Matches all week date representations (complete, reduced //* accuracy and expanded) in basic formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateWeekBasic := pattern "{nc.yearExpansionOpt}{nc.year}{nc.week}{nc.dayOfWeek}#(,1)"; //***************************************************************************** //* //* @reference ISO_8601 $4.1.4 //* //* @desc Matches all week date representations (complete, reduced //* accuracy and expanded) in extended formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateWeekExtended := pattern "{nc.yearExpansionOpt}{nc.year}{dash}{nc.week}({dash}{nc.dayOfWeek})#(,1)"; //***************************************************************************** //* //* @reference ISO_8601 $4.1.4 //* //* @desc Matches all week date representations (complete, reduced //* accuracy and expanded) in basic and extended formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateWeek := ( t_ISO8601DateWeekBasic, t_ISO8601DateWeekExtended ) //***************************************************************************** //* //* @reference ISO_8601 $4.1 //* //* @desc Matches all date representations (complete, reduced accuracy //* and expanded) in basic formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateBasic := ( t_ISO8601DateCalendarBasic, t_ISO8601DateOrdinalBasic, t_ISO8601DateWeekBasic ) //***************************************************************************** //* //* @reference ISO_8601 $4.1 //* //* @desc Matches all date representations (complete, reduced accuracy //* and expanded) in extended formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateExtended := ( t_ISO8601DateCalendarExtended, t_ISO8601DateOrdinalExtended, t_ISO8601DateWeekExtended ) //***************************************************************************** //* //* @reference ISO_8601 //* //* @desc Matches all date representations (complete, reduced accuracy and //* expanded) in basic and extended formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601Date := ( t_ISO8601DateBasic, t_ISO8601DateExtended ) //============================TIME-OF-DAY============================ //***************************************************************************** //* //* @reference ISO_8601 $4.2 //* //* @desc Matches all time of day representations in basic formats //* Supports all time of day representations as local time: complete //* ($4.2.2.2), reduced accuracy($4.2.2.3) and with decimal fraction //* ($4.2.2.4), midnight($4.2.3); UTC of day ($4.2.4) and difference //* between local time and UTC of day ($4.2.5)and the optional time //* designator //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601TimeBasic := pattern "{nc.optionalT}({nc.hour}({nc.minute}({nc.second}{nc.sFraction}#(,1)|60|" & "{nc.mFraction})#(,1)|60|{nc.hFraction})#(,1)|{nc.endOfDay})" & "{nc.optZorTimeZone}"; //***************************************************************************** //* //* @reference ISO_8601 $4.2 //* //* @desc Matches all time of day representations in extended formats //* Supports all time of day representations as local time: complete //* ($4.2.2.2), reduced accuracy($4.2.2.3) and with decimal fraction //* ($4.2.2.4), midnight($4.2.3); UTC of day ($4.2.4) and difference between //* local time and UTC of day ($4.2.5)and the optional time designator //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601TimeExtended := pattern "{nc.optionalT}({nc.hour}{colon}({nc.minute}({colon}({nc.second}" & "{nc.sFraction}#(,1)|60)|{nc.mFraction})#(,1)|60)|{nc.endOfDayExt})" & "{nc.optZorTimeZoneExt}"; //***************************************************************************** //* //* @reference ISO_8601 $4.2 //* //* @desc Matches all time of day representations in basic and extended formats //* Supports all time of day representations as local time: complete //* ($4.2.2.2), reduced accuracy($4.2.2.3) and with decimal fraction //* ($4.2.2.4), midnight($4.2.3); UTC of day ($4.2.4) and difference between //* local time and UTC of day ($4.2.5)and the optional time designator //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601Time := ( t_ISO8601TimeBasic, t_ISO8601TimeExtended ) //============================DATE-TIME FORMATS================================ //***************************************************************************** //* //* @reference ISO_8601 $4.3 //* //* @desc Matches all date/time of day representations in basic formats //* //* @remark Acc. to $4.3... ?) (...) The //* time part may be of reduced accuracy. //* @remark There is no requirement in ISO8601 to keep reduced accuracy //* compatible in the start and the end date/time; this may result //* "strange" or in some cases unclear (in these cases agreement is //* required between the communicating sides) time interval //* representations, however these are allowed by this template //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601IntervalStartEndBasic := pattern "{nc.yearExpansionOpt}{nc.year}({nc.month}{nc.dayOfMonth}|{nc.dayOfYear}|" & "{nc.week}{nc.dayOfWeek})T({nc.hour}({nc.minute}({nc.second}{nc.sFraction}" & "#(,1)|60|{nc.mFraction})#(,1)|60|{nc.hFraction})#(,1){nc.optZorTimeZone}|" & "{nc.endOfDay}{nc.optZorTimeZone})/({nc.yearExpansionOpt}{nc.year}" & "({nc.month}{nc.dayOfMonth}|{nc.dayOfYear}|{nc.week}{nc.dayOfWeek})|" & "({nc.month}#(,1){nc.dayOfMonth}|{nc.dayOfYear}|{nc.week}#(,1){nc.dayOfWeek}))"& "T({nc.hour}({nc.minute}({nc.second}{nc.sFraction}#(,1)|60|{nc.mFraction})" & "#(,1)|60|{nc.hFraction})#(,1){nc.optZorTimeZone}|{nc.endOfDay}" & "{nc.optZorTimeZone})" //***************************************************************************** //* //* @reference ISO_8601 $4.4.3 //* //* @desc Matches both complete and reduced accuracy (see note below)time interval //* representations identified by start and end and using the extended format //* //* @remark $ 4.4.4.5 is contradictory as allows omitting higher order time //* elements in the part representing end date/time (the expression //* after the solidus), while the time part may also be of reduced //* accuracy (either by omitting the lower order elements or by a //* decimal fraction). (...) The //* time part may be of reduced accuracy. //* @remark There is no requirement in ISO8601 to keep reduced accuracy //* compatible in the start and the end date/time; this may result //* "strange" or in some cases unclear (in these cases agreement is //* required between the communicating sides) time interval //* representations, however these are allowed by this template //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601IntervalStartEndExtended := pattern "{nc.yearExpansionOpt}{nc.year}{dash}({nc.month}{dash}{nc.dayOfMonth}|" & "{nc.dayOfYear}|{nc.week}{dash}{nc.dayOfWeek})T({nc.hour}{colon}" & "({nc.minute}({colon}({nc.second}{nc.sFraction}#(,1)|60)|{nc.mFraction})" & "#(,1)|60)|{nc.endOfDayExt}){nc.optZorTimeZoneExt}/({nc.yearExpansionOpt}" & "{nc.year}({dash}{nc.month}{dash}{nc.dayOfMonth}|{dash}{nc.dayOfYear}|" & "{dash}{nc.week}{dash}{nc.dayOfWeek})|({nc.month}{dash})#(,1)" & "{nc.dayOfMonth}|{nc.week}{dash}{nc.dayOfWeek})T({nc.hour}{colon}" & "({nc.minute}({colon}({nc.second}{nc.sFraction}#(,1)|60)|{nc.mFraction})" & "#(,1)|60)|{nc.endOfDayExt}){nc.optZorTimeZoneExt}" //***************************************************************************** //* //* @reference ISO_8601 $4.4.3 //* //* @desc Matches both complete and reduced accuracy (see note below)time //* interval representations identified by start and end and using the basic //* or the extended format //* //* @remark $ 4.4.4.5 is contradictory as allows omitting higher order time //* elements in the part representing end date/time (the expression //* after the solidus), while the time part may also be of reduced //* accuracy (either by omitting the lower order elements or by a //* decimal fraction).
Language:English
Score: 445688.96
-
https://www.itu.int/wftp3/Publ.../ISO8601DateTimePatterns.ttcn3
Data Source: un
module ISO8601DateTimePatterns { //========================================================================= // Imports //========================================================================= import from nc all; //========================================================================= // Templates //========================================================================= //============================DATE FORMS================================== //***************************************************************************** //* //* @reference ISO_8601 $4.1.2 //* //* @desc Matches all calendar date representations (complete, reduced //* accuracy and expanded) in basic formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateCalendarBasic := pattern "{nc.yearExpansionOpt}({nc.century}|{nc.year}({nc.month}{nc.dayOfMonth}|" & "{dash}{nc.month})#(,1))"; //***************************************************************************** //* //* @reference ISO_8601 $4.1.2 //* //* @desc Matches all calendar date representations (complete and expanded) //* in extended formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateCalendarExtended := pattern "{nc.yearExpansionOpt}{nc.year}{dash}{nc.month}{dash}{nc.dayOfMonth}"; //***************************************************************************** //* //* @reference ISO_8601 $4.1.2 //* //* @desc Matches all calendar date representations (complete, reduced //* accuracy and expanded) in basic and extended formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateCalendar := ( t_ISO8601DateCalendarBasic, t_ISO8601DateCalendarExtended ) //***************************************************************************** //* //* @reference ISO_8601 $4.1.3 //* //* @desc Matches all ordinal date representations (complete, reduced //* accuracy and expanded) in basic formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateOrdinalBasic := pattern "{nc.yearExpansionOpt}{nc.year}{nc.dayOfYear}"; //***************************************************************************** //* //* @reference ISO_8601 $4.1.3 //* //* @desc Matches all ordinal date representations (complete, reduced //* accuracy and expanded) in basic formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateOrdinalExtended := pattern "{nc.yearExpansionOpt}{nc.year}{dash}{nc.dayOfYear}"; //***************************************************************************** //* //* @reference ISO_8601 $4.1.3 //* //* @desc Matches all ordinal date representations (complete, reduced //* accuracy and expanded) in basic and extended formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateOrdinal := ( t_ISO8601DateOrdinalBasic, t_ISO8601DateOrdinalExtended ) //***************************************************************************** //* //* @reference ISO_8601 $4.1.4 //* //* @desc Matches all week date representations (complete, reduced //* accuracy and expanded) in basic formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateWeekBasic := pattern "{nc.yearExpansionOpt}{nc.year}{nc.week}{nc.dayOfWeek}#(,1)"; //***************************************************************************** //* //* @reference ISO_8601 $4.1.4 //* //* @desc Matches all week date representations (complete, reduced //* accuracy and expanded) in extended formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateWeekExtended := pattern "{nc.yearExpansionOpt}{nc.year}{dash}{nc.week}({dash}{nc.dayOfWeek})#(,1)"; //***************************************************************************** //* //* @reference ISO_8601 $4.1.4 //* //* @desc Matches all week date representations (complete, reduced //* accuracy and expanded) in basic and extended formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateWeek := ( t_ISO8601DateWeekBasic, t_ISO8601DateWeekExtended ) //***************************************************************************** //* //* @reference ISO_8601 $4.1 //* //* @desc Matches all date representations (complete, reduced accuracy //* and expanded) in basic formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateBasic := ( t_ISO8601DateCalendarBasic, t_ISO8601DateOrdinalBasic, t_ISO8601DateWeekBasic ) //***************************************************************************** //* //* @reference ISO_8601 $4.1 //* //* @desc Matches all date representations (complete, reduced accuracy //* and expanded) in extended formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601DateExtended := ( t_ISO8601DateCalendarExtended, t_ISO8601DateOrdinalExtended, t_ISO8601DateWeekExtended ) //***************************************************************************** //* //* @reference ISO_8601 //* //* @desc Matches all date representations (complete, reduced accuracy and //* expanded) in basic and extended formats //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601Date := ( t_ISO8601DateBasic, t_ISO8601DateExtended ) //============================TIME-OF-DAY============================ //***************************************************************************** //* //* @reference ISO_8601 $4.2 //* //* @desc Matches all time of day representations in basic formats //* Supports all time of day representations as local time: complete //* ($4.2.2.2), reduced accuracy($4.2.2.3) and with decimal fraction //* ($4.2.2.4), midnight($4.2.3); UTC of day ($4.2.4) and difference //* between local time and UTC of day ($4.2.5)and the optional time //* designator //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601TimeBasic := pattern "{nc.optionalT}({nc.hour}({nc.minute}({nc.second}{nc.sFraction}#(,1)|60|" & "{nc.mFraction})#(,1)|60|{nc.hFraction})#(,1)|{nc.endOfDay})" & "{nc.optZorTimeZone}"; //***************************************************************************** //* //* @reference ISO_8601 $4.2 //* //* @desc Matches all time of day representations in extended formats //* Supports all time of day representations as local time: complete //* ($4.2.2.2), reduced accuracy($4.2.2.3) and with decimal fraction //* ($4.2.2.4), midnight($4.2.3); UTC of day ($4.2.4) and difference between //* local time and UTC of day ($4.2.5)and the optional time designator //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601TimeExtended := pattern "{nc.optionalT}({nc.hour}{colon}({nc.minute}({colon}({nc.second}" & "{nc.sFraction}#(,1)|60)|{nc.mFraction})#(,1)|60)|{nc.endOfDayExt})" & "{nc.optZorTimeZoneExt}"; //***************************************************************************** //* //* @reference ISO_8601 $4.2 //* //* @desc Matches all time of day representations in basic and extended formats //* Supports all time of day representations as local time: complete //* ($4.2.2.2), reduced accuracy($4.2.2.3) and with decimal fraction //* ($4.2.2.4), midnight($4.2.3); UTC of day ($4.2.4) and difference between //* local time and UTC of day ($4.2.5)and the optional time designator //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601Time := ( t_ISO8601TimeBasic, t_ISO8601TimeExtended ) //============================DATE-TIME FORMATS================================ //***************************************************************************** //* //* @reference ISO_8601 $4.3 //* //* @desc Matches all date/time of day representations in basic formats //* //* @remark Acc. to $4.3... ?) (...) The //* time part may be of reduced accuracy. //* @remark There is no requirement in ISO8601 to keep reduced accuracy //* compatible in the start and the end date/time; this may result //* "strange" or in some cases unclear (in these cases agreement is //* required between the communicating sides) time interval //* representations, however these are allowed by this template //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601IntervalStartEndBasic := pattern "{nc.yearExpansionOpt}{nc.year}({nc.month}{nc.dayOfMonth}|{nc.dayOfYear}|" & "{nc.week}{nc.dayOfWeek})T({nc.hour}({nc.minute}({nc.second}{nc.sFraction}" & "#(,1)|60|{nc.mFraction})#(,1)|60|{nc.hFraction})#(,1){nc.optZorTimeZone}|" & "{nc.endOfDay}{nc.optZorTimeZone})/({nc.yearExpansionOpt}{nc.year}" & "({nc.month}{nc.dayOfMonth}|{nc.dayOfYear}|{nc.week}{nc.dayOfWeek})|" & "({nc.month}#(,1){nc.dayOfMonth}|{nc.dayOfYear}|{nc.week}#(,1){nc.dayOfWeek}))"& "T({nc.hour}({nc.minute}({nc.second}{nc.sFraction}#(,1)|60|{nc.mFraction})" & "#(,1)|60|{nc.hFraction})#(,1){nc.optZorTimeZone}|{nc.endOfDay}" & "{nc.optZorTimeZone})" //***************************************************************************** //* //* @reference ISO_8601 $4.4.3 //* //* @desc Matches both complete and reduced accuracy (see note below)time interval //* representations identified by start and end and using the extended format //* //* @remark $ 4.4.4.5 is contradictory as allows omitting higher order time //* elements in the part representing end date/time (the expression //* after the solidus), while the time part may also be of reduced //* accuracy (either by omitting the lower order elements or by a //* decimal fraction). (...) The //* time part may be of reduced accuracy. //* @remark There is no requirement in ISO8601 to keep reduced accuracy //* compatible in the start and the end date/time; this may result //* "strange" or in some cases unclear (in these cases agreement is //* required between the communicating sides) time interval //* representations, however these are allowed by this template //* //* @status verified //* //***************************************************************************** template charstring t_ISO8601IntervalStartEndExtended := pattern "{nc.yearExpansionOpt}{nc.year}{dash}({nc.month}{dash}{nc.dayOfMonth}|" & "{nc.dayOfYear}|{nc.week}{dash}{nc.dayOfWeek})T({nc.hour}{colon}" & "({nc.minute}({colon}({nc.second}{nc.sFraction}#(,1)|60)|{nc.mFraction})" & "#(,1)|60)|{nc.endOfDayExt}){nc.optZorTimeZoneExt}/({nc.yearExpansionOpt}" & "{nc.year}({dash}{nc.month}{dash}{nc.dayOfMonth}|{dash}{nc.dayOfYear}|" & "{dash}{nc.week}{dash}{nc.dayOfWeek})|({nc.month}{dash})#(,1)" & "{nc.dayOfMonth}|{nc.week}{dash}{nc.dayOfWeek})T({nc.hour}{colon}" & "({nc.minute}({colon}({nc.second}{nc.sFraction}#(,1)|60)|{nc.mFraction})" & "#(,1)|60)|{nc.endOfDayExt}){nc.optZorTimeZoneExt}" //***************************************************************************** //* //* @reference ISO_8601 $4.4.3 //* //* @desc Matches both complete and reduced accuracy (see note below)time //* interval representations identified by start and end and using the basic //* or the extended format //* //* @remark $ 4.4.4.5 is contradictory as allows omitting higher order time //* elements in the part representing end date/time (the expression //* after the solidus), while the time part may also be of reduced //* accuracy (either by omitting the lower order elements or by a //* decimal fraction).
Language:English
Score: 445688.96
-
https://www.itu.int/wftp3/Publ...8601DateTimePatterns.ttcn3.txt
Data Source: un
Behavioural
Breastfeeding education for increased breastfeeding duration
Breastfeeding: continued breastfeeding for healthy growth and development of children
Breastfeeding: creating an environment in care facilities that supports breastfeeding
Breastfeeding: early initiation to promote exclusive breastfeeding
Breastfeeding: exclusive breastfeeding for optimal growth, development and health of infants
Breastfeeding: feeding of infants unable to breastfeed directly in care facilities
Breastfeeding: support for mothers to initiate and establish breastfeeding after childbirth
Caffeine: restricting intake during pregnancy
Complementary feeding: appropriate complementary feeding
HIV/AIDS: infant feeding for the prevention of mother-to-child transmission of HIV
HIV/AIDS: nutrition counselling for adolescents and adults with HIV/AIDS
HIV/AIDS: nutritional care of HIV-infected children
Insecticide-treated nets to reduce the risk of malaria in pregnant women
Low birth weight: breastfeeding of low-birth-weight infants
Low birth weight: cup-feeding for low-birth-weight infants unable to fully breastfeed
Low birth weight: demand feeding for low-birth-weight infants
Low birth weight: donor human milk for low-birth-weight infants
Low birth weight: feeding of very-low-birth-weight infants
Low birth weight: kangaroo mother care to reduce morbidity and mortality in low-birth-weight infants
Low birth weight: mother’s milk for low-birth-weight infants
Low birth weight: standard formula for low-birth-weight infants following hospital discharge
Noncommunicable diseases: increasing fruit and vegetable consumption to reduce the risk of noncommunicable diseases
Nutrition counselling during pregnancy
Obesity: exclusive breastfeeding to reduce the risk of childhood overweight and obesity
Obesity: limiting portion sizes to reduce the risk of childhood overweight and obesity
Obesity: reducing consumption of sugar-sweetened beverages to reduce the risk of childhood overweight and obesity
Obesity: reducing consumption of sugar-sweetened beverages to reduce the risk of unhealthy weight gain in adults
Potassium: increasing intake to control blood pressure in children
Potassium: increasing intake to reduce blood pressure and risk of cardiovascular diseases in adults
Sodium: reducing sodium intake to control blood pressure in children
Sodium: reducing sodium intake to reduce blood pressure and risk of cardiovascular diseases in adults
Sugars: reducing free sugars intake in adults to reduce the risk of noncommunicable diseases
Sugars: reducing free sugars intake in children to reduce the risk of noncommunicable diseases
Tuberculosis: nutrition assessment and counselling in individuals with active tuberculosis
Fortification
Biofortification of staple crops
Fortification of maize flour and corn meal
Fortification of rice
Fortification of wheat flour
Iodization of salt for the prevention and control of iodine deficiency disorders
Multiple micronutrient powders for point-of-use fortification of foods consumed by children 2-12 years of age
Multiple micronutrient powders for point-of-use fortification of foods consumed by children 6–23 months of age
Multiple micronutrient powders for point-of-use fortification of foods consumed by pregnant women
Vitamin A fortification of staple foods
Health-related actions
Deworming in children
Deworming in non-pregnant adolescent girls and women of reproductive age
Deworming in pregnant women
Insecticide-treated nets to reduce the risk of malaria in pregnant women
Optimal timing of cord clamping for the prevention of iron deficiency anaemia in infants
Water, sanitation and hygiene interventions to prevent diarrhoea
Regulatory
Marketing: reducing the impact of marketing of foods and non-alcoholic beverages on children
Breastfeeding: regulation of marketing breast-milk substitutes
Situational health actions
Deworming in children
Deworming in non-pregnant adolescent girls and women of reproductive age
Deworming in pregnant women
Insecticide-treated nets to reduce the risk of malaria in pregnant women
Intermittent preventative treatment to reduce the risk of malaria during pregnancy
Iron and folic acid: daily supplementation during pregnancy in malaria-endemic areas
Iron and folic acid: intermittent supplementation during pregnancy in malaria-endemic areas
Iron and folic acid: intermittent supplementation in adult women and adolescent girls in malaria-endemic areas
Iron: intermittent supplementation in children in malaria-endemic areas
Supplementation
Folic acid
Periconceptional folic acid supplementation to prevent neural tube defects
Iron
Daily iron supplementation in adult women and adolescent girls
Daily iron supplementation in children 24–59 months of age
Daily iron supplementation in children 24–59 months of age in malaria-endemic areas
Daily iron supplementation in children 6-23 months of age
Daily iron supplementation in children 6-23 months of age in malaria-endemic areas
Daily iron supplementation in children and adolescents 5–12 years of age
Daily iron supplementation in children and adolescents 5–12 years of age in malaria-endemic areas
Intermittent iron supplementation in preschool and school-age children
Intermittent iron supplementation in preschool and school-age children in malaria-endemic areas
Iron and folic acid
Daily iron and folic acid supplementation during pregnancy
Daily iron and folic acid supplementation during pregnancy in malaria-endemic areas
Intermittent iron and folic acid supplementation during pregnancy
Intermittent iron and folic acid supplementation during pregnancy in malaria-endemic areas
Intermittent iron and folic acid supplementation in adult women and adolescent girls
Intermittent iron and folic acid supplementation in adult women and adolescent girls in malaria-endemic areas
Iron supplementation with or without folic acid to reduce the risk of postpartum anaemia
Iron supplementation with or without folic acid to reduce the risk of postpartum anaemia in malaria-endemic areas
Iodine
Iodine supplementation in pregnant and lactating women
Vitamin A
Vitamin A supplementation during pregnancy
Vitamin A supplementation in children 6–59 months of age with severe acute malnutrition
Vitamin A supplementation in children with respiratory infections
Vitamin A supplementation in HIV-infected adults
Vitamin A supplementation in HIV-infected infants and children 6–59 months of age
Vitamin A supplementation in HIV-infected women during pregnancy
Vitamin A supplementation in infants 1–5 months of age
Vitamin A supplementation in infants and children 6–59 months of age
Vitamin A supplementation in neonates
Vitamin A supplementation in postpartum women
Vitamin B6
Vitamin B6 supplementation during pregnancy
Vitamin C
Vitamin E and C supplementation during pregnancy
Vitamin D
Vitamin D supplementation and respiratory infections in children
Vitamin D supplementation during pregnancy
Vitamin D supplementation in infants
Vitamin E
Vitamin E and C supplementation during pregnancy
Vitamin E supplementation for the prevention of morbidity and mortality in preterm infants
Zinc
Zinc supplementation and growth in children
Zinc supplementation during pregnancy
Zinc supplementation in children with respiratory infections
Zinc supplementation in the management of diarrhoea
Multiple micronutrients
Micronutrient supplementation in HIV-infected women during pregnancy
Micronutrient supplementation in individuals with active tuberculosis
Multiple micronutrient supplementation during pregnancy
Macronutrients
Balanced energy and protein supplementation during pregnancy
High-protein supplementation during pregnancy
Long chain polyunsaturated fatty acid supplementation during pregnancy
Macronutrient supplementation in people living with HIV/AIDS
Supplemental nutrition with dietary advice for older people affected by undernutrition
Supplementary feeding in community settings for promoting child growth
Supplementary foods for the management of moderate acute malnutrition in children aged 6 - 59 months
Contact us
eLENA team Department of Nutrition for Health and Development (NHD) World Health Organization 20 Avenue Appia CH-1211 Geneva 27 Switzerland
E-mail: [email protected]
WHO Department of Nutrition for Health and Development
You are here:
e-Library of Evidence for Nutrition Actions (eLENA)
Nutrition interventions
Regions
Africa
Americas
Eastern Mediterranean
Europe
South-East Asia
Western Pacific
About us
Careers
Library
Procurement
Publications
Frequently asked questions
Contact us
Subscribe to our newsletters
Privacy Legal Notice
© 2022
WHO
Language:English
Score: 445533.45
-
https://www.who.int/elena/intervention/en/
Data Source: un
The Climate Change Office has two converging objectives. The first is to reduce the energy consumption of Telefónica by increasing internal energy efficiency, and the second is development of new and competitive products and services that lead other sectors to be more efficient and reduce their carbon footprint.
(...) There are many practical examples of the benefits and opportunities for reducing carbon that ICT brings to other sectors. One of the most common is the use of sophisticated telecommunication services such as videoconferencing to reduce travel requirements. (...) In conclusion, Telefónica believes that the ICT sector itself must work to reduce its carbon footprint, while also supporting other sectors and society as a whole to reduce their impact on climate change by providing products and services that can help them to reduce their greenhouse-gas emissions.
Language:English
Score: 445305.86
-
https://www.itu.int/net/itunews/issues/2009/10/17.aspx
Data Source: un
Thus, ICTs can contribute greatly to developing new efficient technologies and to reducing the global GHG emissions that emanate from other sectors of the economy.
Reducing carbon emissions will require changes in lifestyle and behaviour, but changes in management practices can also have a positive impact. (...) It is also converting its vehicle fleet to low-emission vehicles and is experimenting with growing sweet potatoes on the roofs of its offices in order to reduce heat loss in winter and reduce heat absorption in summer.
Language:English
Score: 445067.1
-
https://www.itu.int/themes/cli...ort/05_ICTCleanTechnology.html
Data Source: un
This year's Global Review analysed actions already undertaken by developing countries, regional communities and their development partners to reduce trade costs and survey the extent of the challenge remaining, and how it can be addressed in the context of the proposed Sustainable Development Goals.
(...) The 5th Global Review high-level meeting offered the opportunity to recommit the trade and development community to continued action by developing countries and their development partners to reduce trade costs and support other Aid-for-Trade objectives, so affirming the role of trade in the Sustainable Development Goals and Financing for Development.
(...) (Room S2)
> Programme
(pdf format)
> Practical Information
Publications
> Aid for Trade at a Glance 2015: Reducing trade costs for inclusive, sustainable growth
> Pocket Edition
> Aid for Trade country profiles
> Aid for Trade in Asia and the Pacific: Thinking Forward About Trade Costs and the Digital Economy
> Reducing Trade Costs to Support Africa's Transformation: The Role of Aid for Trade
> Outcomes of the Regional Review Seminar on Reducing Trade Costs for Inclusive Sustainable Growth
Press Conference (1 July) Director-General Azevêdo and Amina Mohamed, Kenya's Cabinet Secretary at the Ministry of Foreign Affairs and International Trade
Audio
Language:English
Score: 444927.7
-
https://www.wto.org/english/tr...og_e/global_review15prog_e.htm
Data Source: un
Carbohydrates
Fibre
Increasing fruit and vegetable consumption to reduce the risk of noncommunicable diseases
Sugars
Reducing consumption of sugar-sweetened beverages to reduce the risk of childhood overweight and obesity
Reducing consumption of sugar-sweetened beverages to reduce the risk of unhealthy weight gain in adults
Reducing free sugars intake in adults to reduce the risk of noncommunicable diseases
Reducing free sugars intake in children to reduce the risk of noncommunicable diseases
Fats and fatty acids
Long chain polyunsaturated fatty acid supplementation during pregnancy
Protein
Balanced energy and protein supplementation during pregnancy
Vitamins and minerals
Calcium
Calcium supplementation during pregnancy to reduce the risk of pre-eclampsia
Folate
Daily iron and folic acid supplementation during pregnancy
Daily iron and folic acid supplementation during pregnancy in malaria-endemic areas
Intermittent iron and folic acid supplementation during pregnancy
Intermittent iron and folic acid supplementation during pregnancy in malaria-endemic areas
Intermittent iron and folic acid supplementation in adult women and adolescent girls
Intermittent iron and folic acid supplementation in adult women and adolescent girls in malaria-endemic areas
Iron supplementation with or without folic acid to reduce the risk of postpartum anaemia
Iron supplementation with or without folic acid to reduce the risk of postpartum anaemia in malaria-endemic areas
Periconceptional folic acid supplementation to prevent neural tube defects
Iodine
Iodine supplementation in pregnant and lactating women
Iodization of salt for the prevention and control of iodine deficiency disorders
Iron
Daily iron and folic acid supplementation during pregnancy
Daily iron and folic acid supplementation during pregnancy in malaria-endemic areas
Daily iron supplementation in adult women and adolescent girls
Daily iron supplementation in children 24–59 months of age
Daily iron supplementation in children 24–59 months of age in malaria-endemic areas
Daily iron supplementation in children 6-23 months of age
Daily iron supplementation in children 6-23 months of age in malaria-endemic areas
Daily iron supplementation in children and adolescents 5–12 years of age
Daily iron supplementation in children and adolescents 5–12 years of age in malaria-endemic areas
Intermittent iron and folic acid supplementation during pregnancy
Intermittent iron and folic acid supplementation during pregnancy in malaria-endemic areas
Intermittent iron and folic acid supplementation in adult women and adolescent girls
Intermittent iron and folic acid supplementation in adult women and adolescent girls in malaria-endemic areas
Intermittent iron supplementation in preschool and school-age children
Intermittent iron supplementation in preschool and school-age children in malaria-endemic areas
Iron supplementation with or without folic acid to reduce the risk of postpartum anaemia
Iron supplementation with or without folic acid to reduce the risk of postpartum anaemia in malaria-endemic areas
Potassium
Increasing potassium intake to control blood pressure in children
Increasing potassium intake to reduce blood pressure and risk of cardiovascular diseases in adults
Sodium
Iodization of salt for the prevention and control of iodine deficiency disorders
Reducing sodium intake to control blood pressure in children
Reducing sodium intake to reduce blood pressure and risk of cardiovascular diseases in adults
Vitamin A
Vitamin A fortification of staple foods
Vitamin A supplementation during pregnancy
Vitamin A supplementation in children 6–59 months of age with severe acute malnutrition
Vitamin A supplementation in children with respiratory infections
Vitamin A supplementation in HIV-infected adults
Vitamin A supplementation in HIV-infected infants and children 6–59 months of age
Vitamin A supplementation in HIV-infected women during pregnancy
Vitamin A supplementation in infants 1–5 months of age
Vitamin A supplementation in infants and children 6–59 months of age
Vitamin A supplementation in neonates
Vitamin A supplementation in postpartum women
Vitamin B6
Vitamin B6 supplementation during pregnancy
Vitamin C
Vitamin E and C supplementation during pregnancy
Vitamin D
Vitamin D supplementation and respiratory infections in children
Vitamin D supplementation during pregnancy
Vitamin D supplementation in infants
Vitamin E
Vitamin E and C supplementation during pregnancy
Vitamin E supplementation for the prevention of morbidity and mortality in preterm infants
Zinc
Zinc supplementation and growth in children
Zinc supplementation during pregnancy
Zinc supplementation in children with respiratory infections
Zinc supplementation in the management of diarrhoea
Micronutrients
Biofortification of staple crops
Fortification of maize flour and corn meal
Fortification of rice
Fortification of wheat flour
Micronutrient intake in children with severe acute malnutrition
Micronutrient supplementation in HIV-infected women during pregnancy
Micronutrient supplementation in individuals with active tuberculosis
Micronutrient supplementation in low-birth-weight and very-low-birth-weight infants
Multiple micronutrient powders for point-of-use fortification of foods consumed by children 2-12 years of age
Multiple micronutrient powders for point-of-use fortification of foods consumed by children 6–23 months of age
Multiple micronutrient powders for point-of-use fortification of foods consumed by pregnant women
Multiple micronutrient supplementation during pregnancy
Water
Water, sanitation and hygiene interventions to prevent diarrhoea
Multiple nutrients
Balanced energy and protein supplementation during pregnancy
Increasing fruit and vegetable consumption to reduce the risk of noncommunicable diseases
Macronutrient supplementation in people living with HIV/AIDS
Supplemental nutrition with dietary advice for older people affected by undernutrition
Supplementary feeding in community settings for promoting child growth
Supplementary foods for the management of moderate acute malnutrition in children aged 6 - 59 months
Therapeutic feeding of children 6–59 months of age with severe acute malnutrition and acute or persistent diarrhoea
Transition feeding of children 6–59 months of age with severe acute malnutrition
Contact us
eLENA team Department of Nutrition for Health and Development (NHD) World Health Organization 20 Avenue Appia CH-1211 Geneva 27 Switzerland
E-mail: [email protected]
WHO Department of Nutrition for Health and Development
You are here:
e-Library of Evidence for Nutrition Actions (eLENA)
Nutrients
Regions
Africa
Americas
Eastern Mediterranean
Europe
South-East Asia
Western Pacific
About us
Careers
Library
Procurement
Publications
Frequently asked questions
Contact us
Subscribe to our newsletters
Privacy Legal Notice
© 2022
WHO
Language:English
Score: 444927.7
-
https://www.who.int/elena/nutrient/en/
Data Source: un