Time Namespace

Version 1.1.28
.NET Framework 4.8

Classes

DateTimeUnixTimeConverter (obsolete)

Converts an instance of DateTime to and from a Unix timestamp.

EssentialsDateTimeConverter (obsolete)

Converts an instance of EssentialsDateTime to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z).

EssentialsDateTimeUnixTimeConverter (obsolete)

Converts an instance of EssentialsDateTime to and from a Unix timestamp.

EssentialsPartialDateConverter

JSON converter for serializing and deserializing instances of EssentialsPartialDate.

TimeConverter

Converts a timestamp (eg. DateTime or DateTimeOffset ) to TimeConverter.Format.

TimeSpanSecondsConverter

JSON converter for seriqalizing and deserializating between instances of TimeSpan and the total amount of seconds represented by the time span.

UnixTimeConverter

Converts an instance of either EssentialsDateTime or DateTime to and from a Unix timestamp.