Click or drag to resize

Weekday Class

Represents the day of the week. new Weekday(2, Weekday.Monday) // represents second Monday new Weekday(-1, Weekday.Friday) // represents last Friday
Inheritance Hierarchy
SystemObject
  Limilabs.Mail.AppointmentsWeekday

Namespace: Limilabs.Mail.Appointments
Assembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntax
[SerializableAttribute]
public class Weekday

The Weekday type exposes the following members.

Constructors
 NameDescription
Public methodWeekday Creates new instance of the weekday
Top
Properties
 NameDescription
Public propertyName Two letter name of the day (MO, TU, WE, TH, FR, SA, SU)
Public propertyOffset Day of the week offset. 1 is first, 2 is second, -1 means last, -2 means second from the last and so on.
Top
Methods
 NameDescription
Public methodEquals(Object) Determines whether the specified object is equal to the current object. Names are compared case insensitive.
(Overrides ObjectEquals(Object))
Public methodEquals(Weekday) Determines whether the specified Weekday object is equal to the current one. Names are compared case insensitive.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetDayOfWeek Gets DayOfWeek represented by this instances.
Public methodGetHashCode Serves as a hash function for a particular type.
(Overrides ObjectGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToString Returns this object rendered as string.
(Overrides ObjectToString)
Top
Operators
 NameDescription
Public operatorStatic memberEquality(Weekday, Weekday) Determines whether two Weekday objects are equal.
Public operatorStatic memberInequality(Weekday, Weekday) Determines whether two Weekday objects are not equal.
Top
Fields
 NameDescription
Public fieldStatic memberFirstFriday First Friday.
Public fieldStatic memberFirstMonday First Monday.
Public fieldStatic memberFirstSaturday Last Saturday.
Public fieldStatic memberFirstSunday First Sunday.
Public fieldStatic memberFirstThursday First Thursday.
Public fieldStatic memberFirstTuesday First Tuesday.
Public fieldStatic memberFirstWednesday First Wednesday.
Public fieldStatic memberFriday Friday.
Public fieldStatic memberLastFriday Last Friday.
Public fieldStatic memberLastMonday Last Monday.
Public fieldStatic memberLastSaturday Last Saturday.
Public fieldStatic memberLastSunday Last Sunday.
Public fieldStatic memberLastThursday Last Thursday.
Public fieldStatic memberLastTuesday Last Tuesday.
Public fieldStatic memberLastWednesday Last Wednesday.
Public fieldStatic memberMonday Monday.
Public fieldStatic memberSaturday Saturday.
Public fieldStatic memberSunday Sunday.
Public fieldStatic memberThursday Thursday.
Public fieldStatic memberTuesday Tuesday.
Public fieldStatic memberWednesday Wednesday.
Top
See Also