Interface ITimestampConverter
Converts
Namespace: Apache.Ignite.Core.Binary
Assembly: Apache.Ignite.Core.dll
Syntax
public interface ITimestampConverter
Methods
FromJavaTicks(Int64, Int32)
Converts date from Java ticks.
Declaration
DateTime FromJavaTicks(long high, int low)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | high | High part (milliseconds). |
System.Int32 | low | Low part (nanoseconds) |
Returns
Type | Description |
---|---|
DateTime |
ToJavaTicks(DateTime, out Int64, out Int32)
Converts date to Java ticks.
Declaration
void ToJavaTicks(DateTime date, out long high, out int low)
Parameters
Type | Name | Description |
---|---|---|
DateTime | date | Date |
System.Int64 | high | High part (milliseconds). |
System.Int32 | low | Low part (nanoseconds) |