Time4Sec

Ecng.Interop

Represents a 4-second resolution time value.

Implementa: IFormattable

Métodos

op_Explicit(Time4Sec) : Time4Sec

Converts a DateTime to a Time4Sec value.

value
The DateTime value.
op_Explicit(Time4Sec) : Time4Sec

Converts a DateTimeOffset to a Time4Sec value.

value
The DateTimeOffset value.
op_Implicit(DateTime) : DateTimeOffset

Converts the Time4Sec value to a DateTime.

value
The Time4Sec value.
op_Implicit(DateTimeOffset) : DateTimeOffset

Converts the Time4Sec value to a DateTimeOffset.

value
The Time4Sec value.
ToString
public override string ToString()
result = time4Sec.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 = time4Sec.ToString(format, formatProvider)

Campos

Value
public uint Value
value = time4Sec.Value

The underlying value representing seconds since Unix epoch divided by 4.