DateTimeRangePresetDefinition class¶
Defined in
Namespace: CrissCross
Assembly: CrissCross.dll
Full name: CrissCross.DateTimeRangePresetDefinition
Modifiers: public sealed
Summary¶
Describes a reusable date/time range preset that can create a range from a deterministic reference instant.
Applies to
net10.0, net10.0-windows10.0.19041, net10.0-desktop1.0, net10.0-browserwasm1.0, net9.0, net9.0-windows10.0.19041, net9.0-desktop1.0, net9.0-browserwasm1.0, net8.0, net8.0-macos14.5, net8.0-windows10.0.19041, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-tvos17.2, netstandard2.1, net471, net481
Remarks¶
Initializes a new instance of the DateTimeRangePresetDefinition class.
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Describes a reusable date/time range preset that can create a range from a deterministic reference instant. |
Properties¶
| Name | Summary |
|---|---|
| static Today | Gets the today preset definition. |
| static Yesterday | Gets the yesterday preset definition. |
| static LastSevenDays | Gets the trailing seven-day preset definition. |
| static ThisMonth | Gets the current-month preset definition. |
| static Custom | Gets the custom preset definition. |
| Preset | Gets the preset identifier. |
| DisplayName | Gets the user-facing preset name. |
Methods¶
| Name | Summary |
|---|---|
| CreateRange | Creates a concrete range from the specified reference instant. |