Interface EpochRule

All Superinterfaces:
Serializable

public interface EpochRule extends Serializable
The rule that derives a calendar's anchor onto the shared day-number axis, when the epoch is not a single fixed Julian Day. Most calendars fix their epoch and derive every boundary below it by summing; an anchored calendar (the Hebrew year, whose start is the molad-based RoshHashanah) instead computes each top-level boundary directly.

Referenced by CalendarInfo when isEpochDerived is set.

  • Method Summary

    Modifier and Type
    Method
    Description
    long
    epochJulianDay(long year)
    Gets the Julian Day Number on which the given value of the top division (the year) begins.
  • Method Details

    • epochJulianDay

      long epochJulianDay(long year)
      Gets the Julian Day Number on which the given value of the top division (the year) begins.
      Parameters:
      year - the value of the top division, in the calendar's own numbering
      Returns:
      the Julian Day Number of that value's start