Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Components.DayTimeRange Class

An instance of the DayTimeRange class defines up to two start/end time ranges for a specific date.

Namespace: YetaWF.Core.Components
Assembly: YetaWF.Core

Inheritance

Syntax

public class DayTimeRange;

Constructors

PublicDayTimeRangeConstructor.

Properties

PublicAdditionalFieldCaptionThe caption for the "Additional" checkbox. If not specified, a default is provided.
PublicAdditionalFieldDescriptionThe description (tooltip) for the "Additional" checkbox. If not specified, a default is provided.
PublicClosedFieldCaptionThe caption for the "Closed" checkbox. If not specified, a default is provided.
PublicClosedFieldDescriptionThe description (tooltip) for the "Closed" checkbox. If not specified, a default is provided.
PublicEndDefines the ending time of the first time start/end range. May be null if there is no first start/end range.
PublicEnd2Defines the ending time of the second time start/end range. May be null if there is no second start/end range.
PublicStartDefines the starting time of the first time start/end range. May be null if there is no first start/end range.
PublicStart2Defines the starting time of the second time start/end range. May be null if there is no second start/end range.

Methods

PublicInherited from System.ObjectEqualsDetermines whether the specified object is equal to the current object.
ProtectedInherited from System.ObjectFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
PublicStaticGetClosedDayReturns a DayTimeRange for a typical weekend day/holiday.
PublicInherited from System.ObjectGetHashCodeServes as the default hash function.
PublicGetTimeEnd(not specified)
PublicGetTimeEnd2(not specified)
PublicGetTimeStart(not specified)
PublicGetTimeStart2(not specified)
PublicInherited from System.ObjectGetTypeGets the Type of the current instance.
PublicStaticGetWorkDayReturns a DayTimeRange for a typical workday (9 am - 5 pm).
PublicIsClosedGiven a date/time, returns whether the current time is outside one of the start/end time ranges.
PublicIsClosedAllDayReturns whether there are no start/end time ranges.
ProtectedInherited from System.ObjectMemberwiseCloneCreates a shallow copy of the current Object.
PublicStaticInherited from System.ObjectReferenceEqualsDetermines whether the specified Object instances are the same instance.
PublicInherited from System.ObjectToStringReturns a string that represents the current object.

See Also YetaWF.Core Overview