Uses of Class
com.ethlo.time.DateTime

  • Uses of DateTime in com.ethlo.time

    Methods in com.ethlo.time that return DateTime
    Modifier and Type
    Method
    Description
    static DateTime
    DateTime.of(int year, int month, int day, int hour, int minute, int second, int nanos, TimezoneOffset offset, int fractionDigits)
    Create a new instance with nanosecond granularity from the input parameters
    static DateTime
    DateTime.of(int year, int month, int day, int hour, int minute, int second, TimezoneOffset offset)
    Create a new instance with second granularity from the input parameters
    static DateTime
    DateTime.of(int year, int month, int day, int hour, int minute, TimezoneOffset offset)
    Create a new instance with minute granularity from the input parameters
    static DateTime
    DateTime.of(OffsetDateTime dateTime)
    Create a new instance with data from the specified date-time.
    static DateTime
    DateTime.ofDate(int year, int month, int day)
    Create a new instance with day granularity from the input parameters
    static DateTime
    DateTime.ofYear(int year)
    Create a new instance with year granularity from the input parameters
    static DateTime
    DateTime.ofYearMonth(int year, int month)
    Create a new instance with year-month granularity from the input parameters
    static DateTime
    ITU.parseLenient(String text)
    Parse an ISO formatted date and optionally time to a DateTime.