<DAY> : Day

Java class : leon.view.LyDay

ROLE

A day allows specifying on a Gantt planning the special days (days off for example). Those days may be of three types: days of week (for example Saturday and Sunday), days of year (for example may the first) and special days (for example 24th December 2006).

ATTRIBUTES

<!ATTLIST DAY
	  type ( DAY_OF_WEEK | DAY_OF_YEAR | DAY) "DAY_OF_WEEK"
	  dayOfWeek ( MONDAY | TUESDAY | WEDNESDAY | THURSDAY | FRIDAY | SATURDAY | SUNDAY) "SUNDAY"
	  value CDATA #IMPLIED
	  color CDATA #IMPLIED>
Attribute Mand. Description Default
type no Indicates the type of the day:
DAY_OF_WEEK: day of week (for example Sunday)
DAY_OF_YEAR: day of year (for example may the first)
DAY: special day (for example 24th December 2006).
DAY_OF_WEEK
dayOfWeek no Day of week. Only used for the DAY_OF_WEEK type
MONDAY: monday
TUESDAY: tuesday
WEDNESDAY: wednesday
THURSDAY: thursday
FRIDAY: friday
SATURDAY: saturday
SUNDAY: sunday
SUNDAY
value no Value of the data. Only used for the DAY_OF_YEAR ou DAY types. Represents the day date respecting the date format used in the Gantt planning.  
color no Color used to represent the day on the planning.  

SAMPLE

<DAY type="DAY_OF_WEEK" value="SATURDAY"/>

<!-- In the following example, year has no importance -->
<DAY type="DAY_OF_YEAR" value="01/05/2006"/>

<DAY type="DAY" value="02/05/2006"/>