Back to Devexpress

Holiday Members

corelibraries-devexpress-dot-schedule-dot-holiday-dot-underscore-members.md

latest4.0 KB
Original Source

Holiday Members

Represents a day that is recognized as a holiday.

Constructors

NameDescription
Holiday(DateTime, String, String)Initializes a new instance of the Holiday class with the specified date, display name and location.
Holiday(DateTime, String)Initializes a new instance of the Holiday class with the specified date and display name.

Properties

NameDescription
DateReturns a date, associated with the current KnownDateDay object or its descendant. Inherited from KnownDateDay.
DisplayNameGets or sets the name of the day to display, associated with the current KnownDateDay object or its descendant. Inherited from KnownDateDay.
LocationGets or sets the location attribute of the holiday.
TypeGets the day type associated with this class.

Methods

NameDescription
CheckDate(DateTime)Determines whether the specified date is treated as a working day for the current holiday.
Clone()Creates a copy of the current Holiday object.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current Holiday instance.
GetHashCode()Gets the hash code (a number) that corresponds to the value of the current Holiday object.
GetType()Gets the Type of the current instance. Inherited from Object.
IsWorkDay(DateTime)Determines whether the specified date is treated as a working day for the current holiday.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
ToString()Returns a string that represents the current object. Inherited from Object.

See Also

Holiday Class

DevExpress.Schedule Namespace