The 'date' logical type.
More...
|
|
| Date () |
| | Initializes a new Date logical type.
|
| override void | ValidateSchema (LogicalSchema schema) |
| | Applies logical type validation for a given logical schema.- Parameters
-
| schema | The schema to be validated. |
|
|
override object | ConvertToBaseValue (object logicalValue, LogicalSchema schema) |
|
override object | ConvertToLogicalValue (object baseValue, LogicalSchema schema) |
|
override Type | GetCSharpType (bool nullible) |
|
override bool | IsInstanceOfLogicalType (object logicalValue) |
| object | ConvertToBaseValue (object logicalValue, LogicalSchema schema) |
| | Converts a logical value to an instance of its base type.
|
| object | ConvertToLogicalValue (object baseValue, LogicalSchema schema) |
| | Converts a base value to an instance of the logical type.
|
| Type | GetCSharpType (bool nullible) |
| | Retrieve the .NET type that is represented by the logical type implementation.
|
| bool | IsInstanceOfLogicalType (object logicalValue) |
| | Determines if a given object is an instance of the logical type.
|
|
|
static readonly string | LogicalTypeName = "date" |
| | The logical type name for Date.
|
|
| | LogicalUnixEpochType (string name) |
| | Initializes the base logical type.
|
| | LogicalType (string name) |
| | Initializes the base logical type.
|
|
static readonly DateTime | UnixEpochDateTime = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc) |
| | The date and time of the Unix Epoch.
|
|
const long | TicksPerMicrosecond = TimeSpan.TicksPerMillisecond / 1000 |
| | Number of ticks per microsecond.
|
|
string | Name [get] |
| | The logical type name.
|
◆ ValidateSchema()
| override void Avro.Util.Date.ValidateSchema |
( |
LogicalSchema | schema | ) |
|
|
inlinevirtual |
Applies logical type validation for a given logical schema.
- Parameters
-
| schema | The schema to be validated. |
Reimplemented from Avro.Util.LogicalType.
The documentation for this class was generated from the following file:
- src/apache/main/Util/Date.cs