Show / Hide Table of Contents

    Class DateUtils

    Inheritance
    System.Object
    DateUtils
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Apache.NMS.Util
    Assembly: Apache.NMS.dll
    Syntax
    public class DateUtils

    Fields

    | Improve this Doc View Source

    epochDiff

    The difference between the Windows epoch and the Java epoch in milliseconds.

    Declaration
    public static readonly long epochDiff
    Field Value
    Type Description
    System.Int64
    | Improve this Doc View Source

    javaEpoch

    The start of the Java epoch

    Declaration
    public static readonly DateTime javaEpoch
    Field Value
    Type Description
    System.DateTime
    | Improve this Doc View Source

    windowsEpoch

    The start of the Windows epoch

    Declaration
    public static readonly DateTime windowsEpoch
    Field Value
    Type Description
    System.DateTime

    Methods

    | Improve this Doc View Source

    ToDateTime(Int64)

    Declaration
    public static DateTime ToDateTime(long javaTime)
    Parameters
    Type Name Description
    System.Int64 javaTime
    Returns
    Type Description
    System.DateTime
    | Improve this Doc View Source

    ToDateTimeUtc(Int64)

    Declaration
    public static DateTime ToDateTimeUtc(long javaTime)
    Parameters
    Type Name Description
    System.Int64 javaTime
    Returns
    Type Description
    System.DateTime
    | Improve this Doc View Source

    ToJavaTime(DateTime)

    Declaration
    public static long ToJavaTime(DateTime dateTime)
    Parameters
    Type Name Description
    System.DateTime dateTime
    Returns
    Type Description
    System.Int64
    | Improve this Doc View Source

    ToJavaTimeUtc(DateTime)

    Declaration
    public static long ToJavaTimeUtc(DateTime dateTime)
    Parameters
    Type Name Description
    System.DateTime dateTime
    Returns
    Type Description
    System.Int64
    • Improve this Doc
    • View Source
    Back to top Copyright © 2005-2019 Apache Software Foundation project
    Generated by DocFX