Package | Description |
---|---|
javax.time.calendar.zone |
Provides classes to implement time-zones and their rules.
|
Modifier and Type | Method | Description |
---|---|---|
ZoneRulesBuilder |
ZoneRulesBuilder.addRuleToWindow(int startYear,
int endYear,
MonthOfYear month,
int dayOfMonthIndicator,
DayOfWeek dayOfWeek,
LocalTime time,
boolean timeEndOfDay,
ZoneRulesBuilder.TimeDefinition timeDefinition,
Period savingAmount) |
Adds a multi-year transition rule to the current window.
|
ZoneRulesBuilder |
ZoneRulesBuilder.addRuleToWindow(int year,
MonthOfYear month,
int dayOfMonthIndicator,
LocalTime time,
boolean timeEndOfDay,
ZoneRulesBuilder.TimeDefinition timeDefinition,
Period savingAmount) |
Adds a single transition rule to the current window.
|
ZoneRulesBuilder |
ZoneRulesBuilder.addRuleToWindow(LocalDateTime dateTime,
ZoneRulesBuilder.TimeDefinition timeDefinition,
Period savingAmount) |
Adds a single transition rule to the current window.
|
ZoneRulesBuilder |
ZoneRulesBuilder.addWindow(ZoneOffset standardOffset,
LocalDateTime until,
ZoneRulesBuilder.TimeDefinition untilDefinition) |
Adds a window to the builder that can be used to filter a set of rules.
|
ZoneRulesBuilder |
ZoneRulesBuilder.addWindowForever(ZoneOffset standardOffset) |
Adds a window that applies until the end of time to the builder that can be
used to filter a set of rules.
|
ZoneRulesBuilder |
ZoneRulesBuilder.setFixedSavingsToWindow(Period fixedSavingAmount) |
Sets the previously added window to have fixed savings.
|
Copyright © 2019. All rights reserved.