Difference between revisions of "DYWKRN"

From IHO Nautical Information Processing Working Group
Jump to navigation Jump to search
m
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
Alpha code: DYWKRN
 
Alpha code: DYWKRN
 +
 +
Camel case: dayOfWeekRange
  
 
Attribute type: Complex
 
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:
 
SubAttributes:
  
 
{| style="background:#ccc99; color:black;" border="1" cellpadding="5" cellspacing="0"
 
{| style="background:#ccc99; color:black;" border="1" cellpadding="5" cellspacing="0"
!Name!!AlphaCode!!CamelCase!!Cardinality !!Sequential
+
!Name!!AlphaCode!!CamelCase!!Multiplicity!!Sequential
 
|-  
 
|-  
 
|Day of the week||[[DYOFWK]]||dayOfWeek||2||True
 
|Day of the week||[[DYOFWK]]||dayOfWeek||2||True
Line 26: Line 25:
 
Remarks:
 
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.
+
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:
  
Example: To code the range “Monday through Friday” use the sequence: dyofwk=1, dyofwk=5.
+
To code the range “Monday through Friday” use the sequence: dyofwk=1, dyofwk=5.
  
  
Line 37: Line 40:
 
!David!!Raphael!!others!!Jens
 
!David!!Raphael!!others!!Jens
 
|- style="background:white; color:black"
 
|- style="background:white; color:black"
|DA Y/N
+
|Y
 
|RMM Y
 
|RMM Y
 
|others Y/N
 
|others Y/N
 
|JSF Y/N
 
|JSF Y/N
 
|}
 
|}

Revision as of 21:41, 26 April 2010

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.




David Raphael others Jens
Y RMM Y others Y/N JSF Y/N