PhoenixmlDb.XDM
XsDateTime
Represents an xs:dateTime value with explicit timezone tracking. Unlike DateTimeOffset, this distinguishes "no timezone" from UTC.
#XsDateTime
Namespace: PhoenixmlDb.Xdm
Represents an xs:dateTime value with explicit timezone tracking. Unlike DateTimeOffset, this distinguishes "no timezone" from UTC.
#Constructors
##ctor(DateTimeOffset,Boolean)
Represents an xs:dateTime value with explicit timezone tracking. Unlike DateTimeOffset, this distinguishes "no timezone" from UTC.
#Properties
| Name | Description |
|---|---|
EffectiveYear
|
The effective year, using ExtendedYear if available, otherwise Value.Year. |
ExtendedYear
|
Extended year for dateTimes outside the .NET DateTimeOffset range (years < 1 or > 9999). When non-null, this is the true year; Value.Year is clamped for time storage. |
FractionalTicks
|
Fractional seconds preserved from parsing (sub-tick precision not needed, but format is preserved). |
#Methods
#DaysInMonthProleptic(Int64,Int32)
Returns the number of days in a given month for a proleptic Gregorian year.
#IsLeapYearProleptic(Int64)
Determines if a year is a leap year in the proleptic Gregorian calendar. XSD uses proleptic Gregorian where year 0 exists (= 1 BC in astronomical year numbering).