Noda Time
ToDateTimeUnspecified Method
NamespacesNodaTimeLocalDateTimeToDateTimeUnspecified()()()()

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

Constructs a DateTime from this value which has a Kind of Unspecified.
Declaration Syntax
C#Visual BasicVisual C++
public DateTime ToDateTimeUnspecified()
Public Function ToDateTimeUnspecified As DateTime
public:
DateTime ToDateTimeUnspecified()
Return Value
A DateTime value for the same date and time as this value.
Remarks
Unspecified is slightly odd - it can be treated as UTC if you use ToLocalTime()()()() or as system local time if you use ToUniversalTime()()()(), but it's the only kind which allows you to construct a DateTimeOffset with an arbitrary offset, which makes it as close to the Noda Time non-system-specific "local" concept as exists in .NET.

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