Represents a fixed range of dates.
Inheritance
object
Constructors
Section titled "Constructors"constructor
public FixedDateGroup(FixedDateGroupType type, DateTime value) Returns FixedDateGroup
Properties
Section titled "Properties"Gets the exclusive end date of the accepted date range with a of None.
public DateTime End { get; } Start
Section titled "Start"Gets the inclusive start date of the accepted date range with a of None.
public DateTime Start { get; } Gets the type, or precision, of the group.
public FixedDateGroupType Type { get; } Value
Section titled "Value"Gets the reference date which determines range of accepted dates.
public DateTime Value { get; } Methods
Section titled "Methods"Equals(object)
Section titled "Equals(object)"Determines whether the is equal to the specified object.
public override bool Equals(object obj) Parameters
- obj:
object
Returns any
GetHashCode()
Section titled "GetHashCode()"Gets the hash code for the .
public override int GetHashCode() Returns any
GetRange(CalendarType, out DateTime, out DateTime)
Section titled "GetRange(CalendarType, out DateTime, out DateTime)"Gets the accepted date range based on the specified calendar type.
public void GetRange(CalendarType calendarType, out DateTime start, out DateTime end) Parameters
- calendarType:
CalendarType - start:
DateTime - end:
DateTime