Difference between revisions of "DYWKRN"

From IHO Nautical Information Processing Working Group
Jump to navigation Jump to search
(New page: 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 t...)
 
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Attribute: Day of Week Range
+
Attribute: Day of week is range
  
 
Alpha code: DYWKRN
 
Alpha code: DYWKRN
  
Attribute type: Complex
+
Camel case: dayOfWeekIsRange
  
Camel case: dayOfWeekRange
+
Attribute type: Boolean
  
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:
+
True: the days indicated are specifying the begin and the end  of the range.
 +
 
 +
False: the days indicated are been counted a single days
  
Name AlphaCode CamelCase Cardinality Sequential
 
  
Day of the week [[DYOFWK]] dayOfWeek 2 True
 
  
  
 
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, 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
 +
 
 +
 
 +
Comments:
 +
 
 +
No comments.
 +
 
 +
 
 +
 
 +
 
 +
 
 +
----
 +
 
  
Example: To code the range “Monday through Friday” use the sequence: dyofwk=1, dyofwk=5.
+
{| style="background:#ccc99; color:black;" border="1" cellpadding="5" cellspacing="0" align="left"
 +
!David!!Raphael!!Jens
 +
|- style="background:white; color:black"
 +
|Y
 +
|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