Difference between revisions of "DYWKRN"

From IHO Nautical Information Processing Working Group
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
Attribute: Day of Week Range
+
Attribute: Day of week is range
  
 
Alpha code: DYWKRN
 
Alpha code: DYWKRN
  
Camel case: dayOfWeekRange
+
Camel case: dayOfWeekIsRange
  
Attribute type: Complex
+
Attribute type: Boolean
  
  
  
 +
True: the days indicated are specifying the begin and the end  of the range.
  
SubAttributes:
+
False: the days indicated are been counted a single days
  
{| style="background:#ccc99; color:black;" border="1" cellpadding="5" cellspacing="0"
 
!Name!!AlphaCode!!CamelCase!!Multiplicity!!Sequential
 
|-
 
|Day of the week||[[DYOFWK]]||dayOfWeek||2||True
 
|}
 
  
  
  
 +
Remarks:
 +
 +
A range of days of the week, are the days of the week that begin and end the range. 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.
 +
 +
Overlapping intervals bound to the same objects are not permitted.
 +
 +
Example
 +
 +
To code the range “Monday through Friday” use the sequence: DYOFWK=1, DYOFWK=5, DYWKRN=true
 +
 +
Distinction:
 +
 +
 +
 +
 +
 +
Justification:<br>
  
 +
New atribute
  
  
Remarks:
+
Comments:
  
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).
+
No comments.
  
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.
 
  
  
Line 38: Line 51:
  
 
{| style="background:#ccc99; color:black;" border="1" cellpadding="5" cellspacing="0" align="left"
 
{| style="background:#ccc99; color:black;" border="1" cellpadding="5" cellspacing="0" align="left"
!David!!Raphael!!others!!Jens
+
!David!!Raphael!!Jens
 
|- style="background:white; color:black"
 
|- style="background:white; color:black"
 
|Y
 
|Y
|RMM Y
+
|Y
|others Y/N
 
 
|Y
 
|Y
 
|}
 
|}

Latest revision as of 15:25, 22 July 2016

Attribute: Day of week is range

Alpha code: DYWKRN

Camel case: dayOfWeekIsRange

Attribute type: Boolean


True: the days indicated are specifying the begin and the end of the range.

False: the days indicated are been counted a single days



Remarks:

A range of days of the week, are the days of the week that begin and end the range. 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.

Overlapping intervals bound to the same objects are not permitted.

Example

To code the range “Monday through Friday” use the sequence: DYOFWK=1, DYOFWK=5, DYWKRN=true

Distinction:



Justification:

New atribute


Comments:

No comments.





David Raphael Jens
Y Y Y