Chronology.epochSecond

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

@param prolepticYear the chronology proleptic-year @param month the chronology month-of-year @param dayOfMonth the chronology day-of-month @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 any of the values are _out of range @since 9

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

Meta