Wolfringo Wolfringo
Wolfringo Wolfringo
Wolfringo (c) 2020 TehGM
DocFX, DiscordFX theme.
Search Results for

    Struct WolfTimestamp

    Represents a WOLF Timestamp.

    Implements
    System.IEquatable<WolfTimestamp>
    System.IEquatable<System.DateTime>
    System.IEquatable<System.Int64>
    System.IComparable<WolfTimestamp>
    System.IComparable<System.DateTime>
    System.IComparable<System.Int64>
    System.IConvertible
    Namespace: TehGM.Wolfringo
    Assembly: Wolfringo.Core.dll
    Syntax
    [TypeConverter(typeof(WolfTimestampTypeConverter))]
    public struct WolfTimestamp : IEquatable<WolfTimestamp>, IEquatable<DateTime>, IEquatable<long>, IComparable<WolfTimestamp>, IComparable<DateTime>, IComparable<long>, IConvertible
    Remarks

    This type is designed to provide easy and out-of-the-box conversions between WOLF Timestamp long format and DateTime.

    Constructors

    | Improve this Doc View Source

    WolfTimestamp(DateTime)

    Creates a new WOLF timestamp equal to provided DateTime.

    Declaration
    public WolfTimestamp(DateTime value)
    Parameters
    Type Name Description
    System.DateTime value

    DateTime of timestamp.

    Remarks

    This type is designed to provide easy and out-of-the-box conversions between WOLF Timestamp long format and DateTime.

    | Improve this Doc View Source

    WolfTimestamp(Int64)

    Creates a new WOLF timestamp equal to provided value.

    Declaration
    public WolfTimestamp(long value)
    Parameters
    Type Name Description
    System.Int64 value

    Timestamp value.

    Remarks

    This type is designed to provide easy and out-of-the-box conversions between WOLF Timestamp long format and DateTime.

    Fields

    | Improve this Doc View Source

    Epoch

    Unix Epoch.

    Declaration
    public static readonly DateTime Epoch
    Field Value
    Type Description
    System.DateTime
    Remarks

    This type is designed to provide easy and out-of-the-box conversions between WOLF Timestamp long format and DateTime.

    Methods

    | Improve this Doc View Source

    CompareTo(DateTime)

    Represents a WOLF Timestamp.

    Declaration
    public int CompareTo(DateTime other)
    Parameters
    Type Name Description
    System.DateTime other
    Returns
    Type Description
    System.Int32
    Remarks

    This type is designed to provide easy and out-of-the-box conversions between WOLF Timestamp long format and DateTime.

    | Improve this Doc View Source

    CompareTo(Int64)

    Represents a WOLF Timestamp.

    Declaration
    public int CompareTo(long other)
    Parameters
    Type Name Description
    System.Int64 other
    Returns
    Type Description
    System.Int32
    Remarks

    This type is designed to provide easy and out-of-the-box conversions between WOLF Timestamp long format and DateTime.

    | Improve this Doc View Source

    CompareTo(WolfTimestamp)

    Represents a WOLF Timestamp.

    Declaration
    public int CompareTo(WolfTimestamp other)
    Parameters
    Type Name Description
    WolfTimestamp other
    Returns
    Type Description
    System.Int32
    Remarks

    This type is designed to provide easy and out-of-the-box conversions between WOLF Timestamp long format and DateTime.

    | Improve this Doc View Source

    Equals(DateTime)

    Represents a WOLF Timestamp.

    Declaration
    public bool Equals(DateTime other)
    Parameters
    Type Name Description
    System.DateTime other
    Returns
    Type Description
    System.Boolean
    Remarks

    This type is designed to provide easy and out-of-the-box conversions between WOLF Timestamp long format and DateTime.

    | Improve this Doc View Source

    Equals(Int64)

    Represents a WOLF Timestamp.

    Declaration
    public bool Equals(long other)
    Parameters
    Type Name Description
    System.Int64 other
    Returns
    Type Description
    System.Boolean
    Remarks

    This type is designed to provide easy and out-of-the-box conversions between WOLF Timestamp long format and DateTime.

    | Improve this Doc View Source

    Equals(Object)

    Represents a WOLF Timestamp.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.ValueType.Equals(System.Object)
    Remarks

    This type is designed to provide easy and out-of-the-box conversions between WOLF Timestamp long format and DateTime.

    | Improve this Doc View Source

    Equals(WolfTimestamp)

    Represents a WOLF Timestamp.

    Declaration
    public bool Equals(WolfTimestamp other)
    Parameters
    Type Name Description
    WolfTimestamp other
    Returns
    Type Description
    System.Boolean
    Remarks

    This type is designed to provide easy and out-of-the-box conversions between WOLF Timestamp long format and DateTime.

    | Improve this Doc View Source

    GetHashCode()

    Represents a WOLF Timestamp.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.ValueType.GetHashCode()
    Remarks

    This type is designed to provide easy and out-of-the-box conversions between WOLF Timestamp long format and DateTime.

    | Improve this Doc View Source

    ToDateTime()

    Gets DateTime that equals this WOLF timestamp.

    Declaration
    public DateTime ToDateTime()
    Returns
    Type Description
    System.DateTime

    DateTime representation of the timestamp.

    Remarks

    This type is designed to provide easy and out-of-the-box conversions between WOLF Timestamp long format and DateTime.

    | Improve this Doc View Source

    ToString()

    Represents a WOLF Timestamp.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.ValueType.ToString()
    Remarks

    This type is designed to provide easy and out-of-the-box conversions between WOLF Timestamp long format and DateTime.

    Operators

    | Improve this Doc View Source

    Equality(WolfTimestamp, WolfTimestamp)

    Represents a WOLF Timestamp.

    Declaration
    public static bool operator ==(WolfTimestamp left, WolfTimestamp right)
    Parameters
    Type Name Description
    WolfTimestamp left
    WolfTimestamp right
    Returns
    Type Description
    System.Boolean
    Remarks

    This type is designed to provide easy and out-of-the-box conversions between WOLF Timestamp long format and DateTime.

    | Improve this Doc View Source

    Implicit(DateTime to WolfTimestamp)

    Converts DateTime to a WOLF timestamp.

    Declaration
    public static implicit operator WolfTimestamp(DateTime timestamp)
    Parameters
    Type Name Description
    System.DateTime timestamp

    DateTime to convert.

    Returns
    Type Description
    WolfTimestamp
    Remarks

    This type is designed to provide easy and out-of-the-box conversions between WOLF Timestamp long format and DateTime.

    | Improve this Doc View Source

    Implicit(Int64 to WolfTimestamp)

    Converts Int64 value to a WOLF timestamp.

    Declaration
    public static implicit operator WolfTimestamp(long timestamp)
    Parameters
    Type Name Description
    System.Int64 timestamp

    Int64 value to convert.

    Returns
    Type Description
    WolfTimestamp
    Remarks

    This type is designed to provide easy and out-of-the-box conversions between WOLF Timestamp long format and DateTime.

    | Improve this Doc View Source

    Implicit(WolfTimestamp to DateTime)

    Converts WOLF timestamp to a DateTime.

    Declaration
    public static implicit operator DateTime(WolfTimestamp timestamp)
    Parameters
    Type Name Description
    WolfTimestamp timestamp

    Wolf Timestamp to convert.

    Returns
    Type Description
    System.DateTime
    Remarks

    This type is designed to provide easy and out-of-the-box conversions between WOLF Timestamp long format and DateTime.

    | Improve this Doc View Source

    Implicit(WolfTimestamp to Int64)

    Converts WOLF timestamp to am Int64 value.

    Declaration
    public static implicit operator long (WolfTimestamp timestamp)
    Parameters
    Type Name Description
    WolfTimestamp timestamp

    Wolf Timestamp to convert.

    Returns
    Type Description
    System.Int64
    Remarks

    This type is designed to provide easy and out-of-the-box conversions between WOLF Timestamp long format and DateTime.

    | Improve this Doc View Source

    Inequality(WolfTimestamp, WolfTimestamp)

    Represents a WOLF Timestamp.

    Declaration
    public static bool operator !=(WolfTimestamp left, WolfTimestamp right)
    Parameters
    Type Name Description
    WolfTimestamp left
    WolfTimestamp right
    Returns
    Type Description
    System.Boolean
    Remarks

    This type is designed to provide easy and out-of-the-box conversions between WOLF Timestamp long format and DateTime.

    Explicit Interface Implementations

    | Improve this Doc View Source

    IConvertible.GetTypeCode()

    Represents a WOLF Timestamp.

    Declaration
    TypeCode IConvertible.GetTypeCode()
    Returns
    Type Description
    System.TypeCode
    Remarks

    This type is designed to provide easy and out-of-the-box conversions between WOLF Timestamp long format and DateTime.

    | Improve this Doc View Source

    IConvertible.ToBoolean(IFormatProvider)

    Represents a WOLF Timestamp.

    Declaration
    bool IConvertible.ToBoolean(IFormatProvider provider)
    Parameters
    Type Name Description
    System.IFormatProvider provider
    Returns
    Type Description
    System.Boolean
    Remarks

    This type is designed to provide easy and out-of-the-box conversions between WOLF Timestamp long format and DateTime.

    | Improve this Doc View Source

    IConvertible.ToByte(IFormatProvider)

    Represents a WOLF Timestamp.

    Declaration
    byte IConvertible.ToByte(IFormatProvider provider)
    Parameters
    Type Name Description
    System.IFormatProvider provider
    Returns
    Type Description
    System.Byte
    Remarks

    This type is designed to provide easy and out-of-the-box conversions between WOLF Timestamp long format and DateTime.

    | Improve this Doc View Source

    IConvertible.ToChar(IFormatProvider)

    Represents a WOLF Timestamp.

    Declaration
    char IConvertible.ToChar(IFormatProvider provider)
    Parameters
    Type Name Description
    System.IFormatProvider provider
    Returns
    Type Description
    System.Char
    Remarks

    This type is designed to provide easy and out-of-the-box conversions between WOLF Timestamp long format and DateTime.

    | Improve this Doc View Source

    IConvertible.ToDateTime(IFormatProvider)

    Represents a WOLF Timestamp.

    Declaration
    DateTime IConvertible.ToDateTime(IFormatProvider provider)
    Parameters
    Type Name Description
    System.IFormatProvider provider
    Returns
    Type Description
    System.DateTime
    Remarks

    This type is designed to provide easy and out-of-the-box conversions between WOLF Timestamp long format and DateTime.

    | Improve this Doc View Source

    IConvertible.ToDecimal(IFormatProvider)

    Represents a WOLF Timestamp.

    Declaration
    decimal IConvertible.ToDecimal(IFormatProvider provider)
    Parameters
    Type Name Description
    System.IFormatProvider provider
    Returns
    Type Description
    System.Decimal
    Remarks

    This type is designed to provide easy and out-of-the-box conversions between WOLF Timestamp long format and DateTime.

    | Improve this Doc View Source

    IConvertible.ToDouble(IFormatProvider)

    Represents a WOLF Timestamp.

    Declaration
    double IConvertible.ToDouble(IFormatProvider provider)
    Parameters
    Type Name Description
    System.IFormatProvider provider
    Returns
    Type Description
    System.Double
    Remarks

    This type is designed to provide easy and out-of-the-box conversions between WOLF Timestamp long format and DateTime.

    | Improve this Doc View Source

    IConvertible.ToInt16(IFormatProvider)

    Represents a WOLF Timestamp.

    Declaration
    short IConvertible.ToInt16(IFormatProvider provider)
    Parameters
    Type Name Description
    System.IFormatProvider provider
    Returns
    Type Description
    System.Int16
    Remarks

    This type is designed to provide easy and out-of-the-box conversions between WOLF Timestamp long format and DateTime.

    | Improve this Doc View Source

    IConvertible.ToInt32(IFormatProvider)

    Represents a WOLF Timestamp.

    Declaration
    int IConvertible.ToInt32(IFormatProvider provider)
    Parameters
    Type Name Description
    System.IFormatProvider provider
    Returns
    Type Description
    System.Int32
    Remarks

    This type is designed to provide easy and out-of-the-box conversions between WOLF Timestamp long format and DateTime.

    | Improve this Doc View Source

    IConvertible.ToInt64(IFormatProvider)

    Represents a WOLF Timestamp.

    Declaration
    long IConvertible.ToInt64(IFormatProvider provider)
    Parameters
    Type Name Description
    System.IFormatProvider provider
    Returns
    Type Description
    System.Int64
    Remarks

    This type is designed to provide easy and out-of-the-box conversions between WOLF Timestamp long format and DateTime.

    | Improve this Doc View Source

    IConvertible.ToSByte(IFormatProvider)

    Represents a WOLF Timestamp.

    Declaration
    sbyte IConvertible.ToSByte(IFormatProvider provider)
    Parameters
    Type Name Description
    System.IFormatProvider provider
    Returns
    Type Description
    System.SByte
    Remarks

    This type is designed to provide easy and out-of-the-box conversions between WOLF Timestamp long format and DateTime.

    | Improve this Doc View Source

    IConvertible.ToSingle(IFormatProvider)

    Represents a WOLF Timestamp.

    Declaration
    float IConvertible.ToSingle(IFormatProvider provider)
    Parameters
    Type Name Description
    System.IFormatProvider provider
    Returns
    Type Description
    System.Single
    Remarks

    This type is designed to provide easy and out-of-the-box conversions between WOLF Timestamp long format and DateTime.

    | Improve this Doc View Source

    IConvertible.ToString(IFormatProvider)

    Represents a WOLF Timestamp.

    Declaration
    string IConvertible.ToString(IFormatProvider provider)
    Parameters
    Type Name Description
    System.IFormatProvider provider
    Returns
    Type Description
    System.String
    Remarks

    This type is designed to provide easy and out-of-the-box conversions between WOLF Timestamp long format and DateTime.

    | Improve this Doc View Source

    IConvertible.ToType(Type, IFormatProvider)

    Represents a WOLF Timestamp.

    Declaration
    object IConvertible.ToType(Type conversionType, IFormatProvider provider)
    Parameters
    Type Name Description
    System.Type conversionType
    System.IFormatProvider provider
    Returns
    Type Description
    System.Object
    Remarks

    This type is designed to provide easy and out-of-the-box conversions between WOLF Timestamp long format and DateTime.

    | Improve this Doc View Source

    IConvertible.ToUInt16(IFormatProvider)

    Represents a WOLF Timestamp.

    Declaration
    ushort IConvertible.ToUInt16(IFormatProvider provider)
    Parameters
    Type Name Description
    System.IFormatProvider provider
    Returns
    Type Description
    System.UInt16
    Remarks

    This type is designed to provide easy and out-of-the-box conversions between WOLF Timestamp long format and DateTime.

    | Improve this Doc View Source

    IConvertible.ToUInt32(IFormatProvider)

    Represents a WOLF Timestamp.

    Declaration
    uint IConvertible.ToUInt32(IFormatProvider provider)
    Parameters
    Type Name Description
    System.IFormatProvider provider
    Returns
    Type Description
    System.UInt32
    Remarks

    This type is designed to provide easy and out-of-the-box conversions between WOLF Timestamp long format and DateTime.

    | Improve this Doc View Source

    IConvertible.ToUInt64(IFormatProvider)

    Represents a WOLF Timestamp.

    Declaration
    ulong IConvertible.ToUInt64(IFormatProvider provider)
    Parameters
    Type Name Description
    System.IFormatProvider provider
    Returns
    Type Description
    System.UInt64
    Remarks

    This type is designed to provide easy and out-of-the-box conversions between WOLF Timestamp long format and DateTime.

    Implements

    System.IEquatable<T>
    System.IEquatable<T>
    System.IEquatable<T>
    System.IComparable<T>
    System.IComparable<T>
    System.IComparable<T>
    System.IConvertible