PhoenixmlDb.XDM
XsDate
Represents an xs:date value with optional timezone. Unlike DateOnly, this preserves timezone offset information.
#XsDate
Namespace: PhoenixmlDb.Xdm
Represents an xs:date value with optional timezone. Unlike DateOnly, this preserves timezone offset information.
#Constructors
##ctor(DateOnly,Nullable<TimeSpan>)
Represents an xs:date value with optional timezone. Unlike DateOnly, this preserves timezone offset information.
#Properties
| Name | Description |
|---|---|
EffectiveYear
|
The effective year, using ExtendedYear if available, otherwise Date.Year. |
ExtendedYear
|
Extended year for dates outside the .NET DateOnly range (years < 1 or > 9999). When non-null, this is the true year; Date.Year is clamped for month/day storage. |
#Methods
#ToUtcTicks
Converts this date to UTC ticks for comparison, using midnight as the time component. Falls back to year comparison for extended dates.