1 | <?php |
||
10 | class DayOfWeekType extends DataType |
||
11 | { |
||
12 | /** |
||
13 | * Represents Sunday. |
||
14 | * |
||
15 | * @var string |
||
16 | */ |
||
17 | const SUNDAY = 'Sunday'; |
||
18 | |||
19 | /** |
||
20 | * Represents Monday. |
||
21 | * |
||
22 | * @var string |
||
23 | */ |
||
24 | const MONDAY = 'Monday'; |
||
25 | |||
26 | /** |
||
27 | * Represents Tuesday. |
||
28 | * |
||
29 | * @var string |
||
30 | */ |
||
31 | const TUESDAY = 'Tuesday'; |
||
32 | |||
33 | /** |
||
34 | * Represents Wednesday. |
||
35 | * |
||
36 | * @var string |
||
37 | */ |
||
38 | const WEDNESDAY = 'Wednesday'; |
||
39 | |||
40 | /** |
||
41 | * Represents Thursday. |
||
42 | * |
||
43 | * @var string |
||
44 | */ |
||
45 | const THURSDAY = 'Thursday'; |
||
46 | |||
47 | /** |
||
48 | * Represents Friday. |
||
49 | * |
||
50 | * @var string |
||
51 | */ |
||
52 | const FRIDAY = 'Friday'; |
||
53 | |||
54 | /** |
||
55 | * Represents Saturday. |
||
56 | * |
||
57 | * @var string |
||
58 | */ |
||
59 | const SATURDAY = 'Saturday'; |
||
60 | |||
61 | /** |
||
62 | * Represents a day of the week. |
||
63 | * |
||
64 | * @var string |
||
65 | */ |
||
66 | const DAY = 'Day'; |
||
67 | |||
68 | /** |
||
69 | * Represents a weekday. |
||
70 | * |
||
71 | * @var string |
||
72 | */ |
||
73 | const WEEKDAY = 'Weekday'; |
||
74 | |||
75 | /** |
||
76 | * Represents a weekend day. |
||
77 | * |
||
78 | * @var string |
||
79 | */ |
||
80 | const WEEKENDDAY = 'WeekendDay'; |
||
81 | |||
82 | /** |
||
83 | * Element value. |
||
84 | * |
||
85 | * @var string |
||
86 | */ |
||
87 | public $_; |
||
88 | |||
89 | /** |
||
90 | * Returns the value of this object as a string. |
||
91 | * |
||
92 | * @return string |
||
93 | */ |
||
94 | public function __toString() |
||
98 | } |
||
99 |