UnixTimeConverter Class
Version 1.1.28
.NET Framework 4.8
Namespace | Skybrud.Essentials.Json.Converters.Time |
---|---|
Assembly | Skybrud.Essentials.dll |
Visibility | Public |
Inheritance |
Converts an instance of either EssentialsDateTime or DateTime to and from a Unix timestamp.
public class UnixTimeConverter : TimeConverter { }
Properties
Type | Name | Summary |
---|---|---|
TimeFormat | Format (inherited from TimeConverter) |
The format to be used when serializing to JSON. Default is Iso8601. |
bool | CanRead (inherited from JsonConverter ) | |
bool | CanWrite (inherited from JsonConverter ) |
Methods
Inherited from TimeConverter |
CanConvert(Type)
(virtual)
Determines whether this instance can convert the specified object type. |
Reads the JSON representation of the object. |
Writes the JSON representation of the object. |
Inherited from JsonConverter |
GetSchema()
(virtual)
|