public final class ChronoUnitDatelineModel extends DatelineModel<ChronoUnit>
ChronoUnit
. The chrono unit basically represents standard
calendar units ranging from milliseconds to thousands of years.Constructor and Description |
---|
ChronoUnitDatelineModel()
Constructs a new dateline model with a long list of predefined
resolutions of type
ChronoUnitResolution . |
Modifier and Type | Method and Description |
---|---|
ChronoUnit |
nextTemporalUnit(ChronoUnit unit)
Returns the next larger temporal unit for the given temporal unit, e.g.
|
addResolution, addZoneId, clearResolutions, clearResolutions, getAvailableZoneIds, getMaxScaleCount, getMinScaleCount, getResolutions, getResolutions, getScaleCount, getTemporalUnits, maxScaleCountProperty, minScaleCountProperty, removeResolution, scaleCountProperty, setMaxScaleCount, setMinScaleCount, setScaleCount
public ChronoUnitDatelineModel()
ChronoUnitResolution
.public final ChronoUnit nextTemporalUnit(ChronoUnit unit)
DatelineModel
ChronoUnit.HOURS
this method might return
ChronoUnit.DAYS
.nextTemporalUnit
in class DatelineModel<ChronoUnit>
unit
- the unit for which to return the next higher unitCopyright © 2020 Dirk Lemmermann Software & Consulting. All rights reserved.