EssentialsTime.op_Implicit method

Version 1.1.28
.NET Framework 4.8
Namespace Skybrud.Essentials.Time
Assembly Skybrud.Essentials.dll

op_Implicit(DateTime)

Static

Initializes a new instance of EssentialsTime from the specified timestamp.

public static EssentialsTime op_Implicit(DateTime timestamp)

Parameters

timestamp DateTime

An instance of DateTime .

Returns

An instance of EssentialsTime.

op_Implicit(DateTimeOffset)

Static

Initializes a new instance of EssentialsTime from the specified timestamp.

public static EssentialsTime op_Implicit(DateTimeOffset timestamp)

Parameters

timestamp DateTimeOffset

Returns

An instance of EssentialsTime.

op_Implicit(long)

Static

Initializes a new instance of EssentialsDateTime from the specified timestamp.

public static EssentialsTime op_Implicit(long timestamp)

Parameters

timestamp long

The timestamp specified in seconds.

Returns

op_Implicit(double)

Static

Initializes a new instance of EssentialsTime from the specified timestamp.

public static EssentialsTime op_Implicit(double timestamp)

Parameters

timestamp Double

The timestamp specified in seconds.

Returns

An instance of EssentialsTime.