PhoenixmlDb.Core
XsTime
Represents an xs:time value with optional timezone and sub-second precision.
#XsTime
Namespace: PhoenixmlDb.Xdm
Represents an xs:time value with optional timezone and sub-second precision.
Unlike , this type preserves timezone offset information and fractional seconds beyond tick precision. The property distinguishes "no timezone" (null) from UTC (), which is significant for XPath time comparisons and timezone adjustment functions. Comparison: Times are compared by normalizing to UTC. When no timezone is present, the system's implicit timezone is used, per the XPath Functions and Operators specification. 24:00:00: The XML Schema value 24:00:00 (end of day) is normalized to 00:00:00 during parsing, since does not support hour 24.
#Constructors
##ctor(TimeOnly,Nullable<TimeSpan>,Int32)
Represents an xs:time value with optional timezone and sub-second precision.
Unlike , this type preserves timezone offset information and fractional seconds beyond tick precision. The property distinguishes "no timezone" (null) from UTC (), which is significant for XPath time comparisons and timezone adjustment functions. Comparison: Times are compared by normalizing to UTC. When no timezone is present, the system's implicit timezone is used, per the XPath Functions and Operators specification. 24:00:00: The XML Schema value 24:00:00 (end of day) is normalized to 00:00:00 during parsing, since does not support hour 24.
#Methods
#ToUtcTicks
Converts this time to UTC ticks for comparison. Per XPath F&O §10.4, uses the system implicit timezone when timezone is absent.