The Weekday type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Weekday |
Creates new instance of the weekday
|
Methods
| Name | Description | |
|---|---|---|
| Equals(Object) |
Determines whether the specified object is equal to the current object.
(Overrides Object..::..Equals(Object).) | |
| Equals(Weekday) | ||
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Overrides Object..::..GetHashCode()()()().) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| ToString |
Returns Render()()()() for this object.
(Overrides Object..::..ToString()()()().) |
Operators
| Name | Description | |
|---|---|---|
| Equality |
Determines whether two objects are equal.
| |
| Inequality |
Determines whether two objects are not equal.
|
Fields
| Name | Description | |
|---|---|---|
| Friday |
Friday.
| |
| LastFriday |
Last Friday.
| |
| LastMonday |
Last Monday.
| |
| LastSaturday |
Last Saturday.
| |
| LastSunday |
Last Sunday.
| |
| LastThursday |
Last Thursday.
| |
| LastTuesday |
Last Tuesday.
| |
| LastWednesday |
Last Wednesday.
| |
| Monday |
Monday.
| |
| Saturday |
Saturday.
| |
| Sunday |
Sunday.
| |
| Thursday |
Thursday.
| |
| Tuesday |
Tuesday.
| |
| Wednesday |
Wednesday.
|
Properties
| Name | Description | |
|---|---|---|
| Name |
Two letter name of the day (MO, TU, WE, TH, FR, SA, SU)
| |
| Offset |
Day of the week offset.
1 is first, 2 is second, -1 means last, -2 means second from the last and so on.
|