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 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
  
  
  
SubAttributes:
+
True: the days indicated are specifying the begin and the end  of the range.
  
{| style="background:#ccc99; color:black;" border="1" cellpadding="5" cellspacing="0"
+
False: the days indicated are been counted a single days
!Name!!AlphaCode!!CamelCase!!Multiplicity!!Sequential
 
|-
 
|Day of the week||[[DYOFWK]]||dayOfWeek||2||True
 
|}
 
  
  
Line 22: Line 18:
 
Remarks:
 
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).
+
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.
 
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  
 
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, DYWKRN=true
  
 
Distinction:
 
Distinction:
Line 37: Line 35:
  
 
Justification:<br>
 
Justification:<br>
<span style="color:red;">to be completed</span><br>
+
 
 +
New atribute
 +
 
  
 
Comments:
 
Comments:
Line 51: 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
 
|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