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 era, year-of-era, month, day-of-month, hour, minute, second, and zoneOffset.

@param era the era of the correct type for the chronology, not null @param yearOfEra the chronology year-of-era @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)
  2. long epochSecond(Era era, int yearOfEra, int month, int dayOfMonth, int hour, int minute, int second, ZoneOffset zoneOffset)
    interface Chronology
    long
    epochSecond

Meta