GlobalSettingsAllow_Coordinate_DateTimeKind_Specification Property
Sets whether Coordinate calculates in UTC (default) or environment's DateTimeKind specification. Allows Coordinate objects to run in local time automatically if set to true.
Namespace: CoordinateSharpAssembly: CoordinateSharp (in CoordinateSharp.dll) Version: 3.1.1.1
XMLNS for XAML: Not mapped to an xmlns.
public static bool Allow_Coordinate_DateTimeKind_Specification { get; set; }
Property Value
Boolean
If the `Coordinate` object's set `GeoDate` value has a `DateTimeKind` value set as `Local` and `Allow_Coordinate_DateTimeKind_Specification` is set to `true`, then the Coordinate object will initialize and calculate celestial data
based on the environment's local time by default.
If `DateTimeKind` Specification is allowed, then setting the `Coordinate.Offset` property will throw an `InvalidOperationException` as CoordinateSharp is self-handling offsets.
While Allowing `DateTimeKind` specification is convenient, it is not recommended if you require control of timezones or manual adjustments of UTC offsets. Use only if applicable.