Class DayPeriodRules
java.lang.Object
org.graalvm.shadowed.com.ibm.icu.impl.DayPeriodRules
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiongetDayPeriodForHour(int hour) static DayPeriodRulesgetInstance(ULocale locale) Get a DayPeriodRules object given a locale.doublegetMidPointForDayPeriod(DayPeriodRules.DayPeriod dayPeriod) booleanbooleanhasNoon()
-
Method Details
-
getInstance
Get a DayPeriodRules object given a locale. If data hasn't been loaded, it will be loaded for all locales at once.- Parameters:
locale- locale for which the DayPeriodRules object is requested.- Returns:
- a DayPeriodRules object for
locale.
-
getMidPointForDayPeriod
-
hasMidnight
public boolean hasMidnight() -
hasNoon
public boolean hasNoon() -
getDayPeriodForHour
-