Class S122DateRange
A fixedDateRange or periodicDateRange complex attribute
(S-122 FC 2.0.0 §fixedDateRange, §periodicDateRange): start and end
dates as S100_TruncatedDate text.
public sealed record S122DateRange : IEquatable<S122DateRange>
- Inheritance
-
S122DateRange
- Implements
- Inherited Members
Remarks
Dates keep their source text because a truncated date need not be a
full date: a periodic range usually names a day of the year without a
year (--03-01). Start and End give
the UTC moments when the text is a full date.
Constructors
S122DateRange(string?, string?)
A fixedDateRange or periodicDateRange complex attribute
(S-122 FC 2.0.0 §fixedDateRange, §periodicDateRange): start and end
dates as S100_TruncatedDate text.
public S122DateRange(string? DateStart, string? DateEnd)
Parameters
Remarks
Dates keep their source text because a truncated date need not be a
full date: a periodic range usually names a day of the year without a
year (--03-01). Start and End give
the UTC moments when the text is a full date.
Properties
DateEnd
The dateEnd text, when present.
public string? DateEnd { get; init; }
Property Value
DateStart
The dateStart text, when present.
public string? DateStart { get; init; }
Property Value
End
The start of DateEnd (UTC) when it is a full date, else null.
public DateTimeOffset? End { get; }
Property Value
Start
The start of DateStart (UTC) when it is a full date, else null.
public DateTimeOffset? Start { get; }