Obtains an instance defining the yearly rule to create transitions between two offsets.
!(p)
Applications should normally obtain an instance from {@link ZoneRules}.
This factory is only intended for use when creating {@link ZoneRules}.
@param month the month of the month-day of the first day of the cutover week, not null
@param dayOfMonthIndicator the day of the month-day of the cutover week, positive if the week is that
day or later, negative if the week is that day or earlier, counting from the last day of the month,
from -28 to 31 excluding 0
@param dayOfWeek the required day-of-week, null if the month-day should not be changed
@param time the cutover time _in the 'before' offset, not null
@param timeEndOfDay whether the time is midnight at the end of day
@param timeDefnition how to interpret the cutover
@param standardOffset the standard offset _in force at the cutover, not null
@param offsetBefore the offset before the cutover, not null
@param offsetAfter the offset after the cutover, not null
@return the rule, not null
@throws IllegalArgumentException if the day of month indicator is invalid
@throws IllegalArgumentException if the end of day flag is true when the time is not midnight
@throws IllegalArgumentException if {@code time.getNano()} returns non-zero value
Obtains an instance defining the yearly rule to create transitions between two offsets. !(p) Applications should normally obtain an instance from {@link ZoneRules}. This factory is only intended for use when creating {@link ZoneRules}.
@param month the month of the month-day of the first day of the cutover week, not null @param dayOfMonthIndicator the day of the month-day of the cutover week, positive if the week is that day or later, negative if the week is that day or earlier, counting from the last day of the month, from -28 to 31 excluding 0 @param dayOfWeek the required day-of-week, null if the month-day should not be changed @param time the cutover time _in the 'before' offset, not null @param timeEndOfDay whether the time is midnight at the end of day @param timeDefnition how to interpret the cutover @param standardOffset the standard offset _in force at the cutover, not null @param offsetBefore the offset before the cutover, not null @param offsetAfter the offset after the cutover, not null @return the rule, not null @throws IllegalArgumentException if the day of month indicator is invalid @throws IllegalArgumentException if the end of day flag is true when the time is not midnight @throws IllegalArgumentException if {@code time.getNano()} returns non-zero value