public final class SimpleUnitDatelineModel extends DatelineModel<SimpleUnit>
maxScaleCount, minScaleCount, scaleCount
Constructor and Description |
---|
SimpleUnitDatelineModel() |
Modifier and Type | Method and Description |
---|---|
SimpleUnit |
nextTemporalUnit(SimpleUnit 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 SimpleUnit nextTemporalUnit(SimpleUnit unit)
DatelineModel
ChronoUnit.HOURS
this method might return
ChronoUnit.DAYS
.nextTemporalUnit
in class DatelineModel<SimpleUnit>
unit
- the unit for which to return the next higher unitCopyright © 2014 Dirk Lemmermann Software & Consulting. All rights reserved.