TimeNano

Ecng.Interop

Represents a nanosecond resolution time value.

Implementa: IFormattable

Métodos

op_Explicit(TimeNano) : TimeNano

Converts a DateTime to a TimeNano value.

value
The DateTime value.
op_Explicit(TimeNano) : TimeNano

Converts a DateTime to a TimeNano value.

value
The DateTime value.
op_Implicit(DateTime) : DateTimeOffset

Converts the TimeNano value to a DateTime.

value
The TimeNano value.
op_Implicit(DateTimeOffset) : DateTimeOffset

Converts the TimeNano value to a DateTimeOffset.

value
The TimeNano value.
ToString
public override string ToString()
result = timeNano.ToString()

Returns a string representation of the tuple, with values separated by commas.

Retorna: A string representing the tuple's values.

ToString
public string ToString(string format, IFormatProvider formatProvider)
result = timeNano.ToString(format, formatProvider)

Campos

Value
public ulong Value
value = timeNano.Value

The underlying value representing nanoseconds since Gregorian start.