Difference between revisions of "DYWKRN"

From IHO Nautical Information Processing Working Group
Jump to navigation Jump to search
(3 intermediate revisions by the same user not shown)
Line 6: Line 6:
  
 
Attribute type: Complex
 
Attribute type: Complex
 
  
  
Line 17: Line 16:
 
|Day of the week||[[DYOFWK]]||dayOfWeek||2||True
 
|Day of the week||[[DYOFWK]]||dayOfWeek||2||True
 
|}
 
|}
 
 
  
  
Line 29: Line 26:
 
Though a range of days of the week that cross the week boundaries is possible (e.g., “Thursday to Monday”) the use of ranges that cross week boundaries is discouraged.
 
Though a range of days of the week that cross the week boundaries is possible (e.g., “Thursday to Monday”) the use of ranges that cross week boundaries is discouraged.
  
Example:  
+
Example  
 +
 
 +
To code the range “Monday through Friday” use the sequence: DYOFWK=1, DYOFWK=5.
 +
 
 +
Distinction:
 +
 
 +
 
 +
 
 +
 
 +
 
 +
Justification:<br>
 +
<span style="color:red;">to be completed</span><br>
 +
 
 +
Comments:
 +
 
 +
No comments.
 +
 
 +
 
  
To code the range “Monday through Friday” use the sequence: dyofwk=1, dyofwk=5.
 
  
  
Line 41: Line 54:
 
|- style="background:white; color:black"
 
|- style="background:white; color:black"
 
|Y
 
|Y
|RMM Y
+
|Y
 
|others Y/N
 
|others Y/N
 
|Y
 
|Y
 
|}
 
|}

Revision as of 11:10, 20 June 2011

Attribute: Day of Week Range

Alpha code: DYWKRN

Camel case: dayOfWeekRange

Attribute type: Complex


SubAttributes:

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



Remarks:

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).

Though a range of days of the week that cross the week boundaries is possible (e.g., “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.

Distinction:



Justification:
to be completed

Comments:

No comments.





David Raphael others Jens
Y Y others Y/N Y