DateTimeUnixTimeConverter Class
Version 1.1.28
.NET Framework 4.8
This class has been marked as obsolete: Use UnixTimeConverter instead.
| Namespace | Skybrud.Essentials.Json.Converters.Time |
|---|---|
| Assembly | Skybrud.Essentials.dll |
| Visibility | Public |
| Inheritance |
Converts an instance of DateTime to and from a Unix timestamp.
[Obsolete("Use UnixTimeConverter instead.")]
public class DateTimeUnixTimeConverter : UnixTimeConverter { }
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)
|