Struct UnixMillisecondTime
Assembly: LaunchDarkly.CommonSdk.dll
Syntax
[JsonConverter(typeof(LdJsonConverters.UnixMillisecondTimeConverter))]
public struct UnixMillisecondTime : IEquatable<UnixMillisecondTime>, IComparable<UnixMillisecondTime>, IJsonSerializable
Fields
Epoch
Declaration
public static readonly DateTime Epoch
Field Value
Properties
AsDateTime
Declaration
public DateTime AsDateTime { get; }
Property Value
Now
Declaration
public static UnixMillisecondTime Now { get; }
Property Value
Value
Declaration
public long Value { get; }
Property Value
Methods
CompareTo(UnixMillisecondTime)
Declaration
public int CompareTo(UnixMillisecondTime other)
Parameters
Returns
Equals(UnixMillisecondTime)
Declaration
public bool Equals(UnixMillisecondTime other)
Parameters
Returns
Equals(object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
object |
other |
|
Returns
Overrides
FromDateTime(DateTime)
Declaration
public static UnixMillisecondTime FromDateTime(DateTime dateTime)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
OfMillis(long)
Declaration
public static UnixMillisecondTime OfMillis(long millis)
Parameters
Type |
Name |
Description |
long |
millis |
|
Returns
PlusMillis(long)
Declaration
public UnixMillisecondTime PlusMillis(long millis)
Parameters
Type |
Name |
Description |
long |
millis |
|
Returns
Operators
operator ==(UnixMillisecondTime, UnixMillisecondTime)
Declaration
public static bool operator ==(UnixMillisecondTime a, UnixMillisecondTime b)
Parameters
Returns
operator >(UnixMillisecondTime, UnixMillisecondTime)
Declaration
public static bool operator >(UnixMillisecondTime a, UnixMillisecondTime b)
Parameters
Returns
operator >=(UnixMillisecondTime, UnixMillisecondTime)
Declaration
public static bool operator >=(UnixMillisecondTime a, UnixMillisecondTime b)
Parameters
Returns
operator !=(UnixMillisecondTime, UnixMillisecondTime)
Declaration
public static bool operator !=(UnixMillisecondTime a, UnixMillisecondTime b)
Parameters
Returns
operator <(UnixMillisecondTime, UnixMillisecondTime)
Declaration
public static bool operator <(UnixMillisecondTime a, UnixMillisecondTime b)
Parameters
Returns
operator <=(UnixMillisecondTime, UnixMillisecondTime)
Declaration
public static bool operator <=(UnixMillisecondTime a, UnixMillisecondTime b)
Parameters
Returns
Implements