DYWKRN

From IHO Nautical Information Processing Working Group
Revision as of 08:58, 17 September 2009 by Jens (talk | contribs)
Jump to navigation Jump to search

Attribute: Day of Week Range

Alpha code: DYWKRN

Attribute type: Complex

Camel case: dayOfWeekRange

Data Type: Complex

Definition: A range of days of the week, expressed as a complex type whose sub-attributes are the days of the week that begin and end the range. There is only 1 sub-attribute, which gives the day of the week. The multiplicity of this attribute must be exactly 2. The first instance gives the beginning day of the range and the second the ending day (both are included in the range).

SubAttributes:

Name AlphaCode CamelCase Cardinality Sequential
Day of the week DYOFWK dayOfWeek 2 True

Remarks:

Though the definition permits a range of days of the week to cross the week boundaries (e.g., it is possible to specify a range as “Thursday to Monday”) the use of ranges that cross week boundaries is discouraged.

Example: To code the range “Monday through Friday” use the sequence: dyofwk=1, dyofwk=5.