Property TimeZone
TimeZone
Get or Set the current time zone for date and time parsing operations.
By default, the time zone is null
, which indicates to read the time zone on the fly
from System.TimeZoneInfo.Local. This ensures if you change the time zone on
the current system, QueryParser will utilize it. You can also explicitly set a time zone.
Setting the time zone to null
will restore the default behavior if you have explicitly set a time zone.
Declaration
public virtual TimeZoneInfo TimeZone { get; set; }
Property Value
Type | Description |
---|---|
System.TimeZoneInfo |