Search Results for

    Show / Hide Table of Contents

    Class DateIntervalUtil

    Helper class for work with date intervals

    Inheritance
    java.lang.Object
    DateIntervalUtil
    Inherited Members
    Object.clone()
    Object.equals(Object)
    Object.finalize()
    Object.getClass()
    Object.hashCode()
    Object.notify()
    Object.notifyAll()
    Object.toString()
    Object.wait()
    Object.wait(long)
    Object.wait(long,int)
    Namespace:
    Assembly: .dll
    Syntax
    public class DateIntervalUtil

    Constructors

    DateIntervalUtil()

    Declaration
    public DateIntervalUtil()

    Fields

    DAYS_IN_MONTH

    The days in month

    Declaration
    public static final double DAYS_IN_MONTH
    Field Value
    Type Description
    double

    DAYS_IN_YEAR

    The days in year

    Declaration
    public static final double DAYS_IN_YEAR
    Field Value
    Type Description
    double

    Methods

    fromDays(double days)

    Gets interval from value in days

    Declaration
    public static long fromDays(double days)
    Parameters
    Type Name Description
    double days

    The value in days

    Returns
    Type Description
    long

    The date interval

    fromHours(double hours)

    Gets interval from value in hours

    Declaration
    public static long fromHours(double hours)
    Parameters
    Type Name Description
    double hours

    The value in hours

    Returns
    Type Description
    long

    The date interval

    fromMinutes(double minutes)

    Gets interval from value in minutes

    Declaration
    public static long fromMinutes(double minutes)
    Parameters
    Type Name Description
    double minutes

    The value in minutes

    Returns
    Type Description
    long

    The date interval

    fromMonths(double months)

    Gets interval from value in months

    Declaration
    public static long fromMonths(double months)
    Parameters
    Type Name Description
    double months

    The value in months

    Returns
    Type Description
    long

    The date interval

    fromSeconds(double seconds)

    Gets interval from value in seconds

    Declaration
    public static long fromSeconds(double seconds)
    Parameters
    Type Name Description
    double seconds

    The value in seconds

    Returns
    Type Description
    long

    The date interval

    fromWeeks(double weeks)

    Gets interval from value in weeks

    Declaration
    public static long fromWeeks(double weeks)
    Parameters
    Type Name Description
    double weeks

    The value in weeks

    Returns
    Type Description
    long

    The date interval

    fromYears(double years)

    Gets interval from value in years

    Declaration
    public static long fromYears(double years)
    Parameters
    Type Name Description
    double years

    The value in years

    Returns
    Type Description
    long

    The date interval

    Back to top © 2011-2025 SciChart. All rights reserved. | sitemap.xml