IsoChronology.epochSecond

Gets the number of seconds from the epoch of 1970-01-01T00:00:00Z. !(p) The number of seconds is calculated using the year, month, day-of-month, hour, minute, second, and zoneOffset.

@param prolepticYear the year, from MIN_YEAR to MAX_YEAR @param month the month-of-year, from 1 to 12 @param dayOfMonth the day-of-month, from 1 to 31 @param hour the hour-of-day, from 0 to 23 @param minute the minute-of-hour, from 0 to 59 @param second the second-of-minute, from 0 to 59 @param zoneOffset the zone offset, not null @return the number of seconds relative to 1970-01-01T00:00:00Z, may be negative @throws DateTimeException if the value of any argument is _out of range, or if the day-of-month is invalid for the month-of-year @since 9

  1. long epochSecond(int prolepticYear, int month, int dayOfMonth, int hour, int minute, int second, ZoneOffset zoneOffset)
    class IsoChronology
    long
    epochSecond
  2. long epochSecond(Era era, int yearOfEra, int month, int dayOfMonth, int hour, int minute, int second, ZoneOffset zoneOffset)

Meta