Noda Time
InFixedZone Method
NamespacesNodaTimeOffsetDateTimeInFixedZone()()()()

[This is preliminary documentation and is subject to change.]

Returns this value as a ZonedDateTime.
Declaration Syntax
C#Visual BasicVisual C++
public ZonedDateTime InFixedZone()
Public Function InFixedZone As ZonedDateTime
public:
ZonedDateTime InFixedZone()
Return Value
A zoned date/time with the same local time and a fixed time zone using the offset from this value.
Remarks

This method returns a ZonedDateTime with the same local date and time as this value, using a fixed time zone with the same offset as the offset for this value.

Note that because the resulting ZonedDateTime has a fixed time zone, it is generally not useful to use this result for arithmetic operations, as the zone will not adjust to account for daylight savings.

Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)