Class DayPeriodRules.DayPeriodRulesDataSink
java.lang.Object
com.ibm.icu.impl.UResource.Sink
com.ibm.icu.impl.DayPeriodRules.DayPeriodRulesDataSink
- Enclosing class:
DayPeriodRules
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int[]private DayPeriodRules.CutoffTypeprivate DayPeriodRules.DayPeriodprivate int -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddCutoff(DayPeriodRules.CutoffType type, String hourStr) private static intprivate voidprocessRules(UResource.Table rules, UResource.Key key, UResource.Value value) voidput(UResource.Key key, UResource.Value value, boolean noFallback) Called once for each bundle (child-parent-...-root).private void
-
Field Details
-
data
-
cutoffs
private int[] cutoffs -
ruleSetNum
private int ruleSetNum -
period
-
cutoffType
-
-
Constructor Details
-
DayPeriodRulesDataSink
-
-
Method Details
-
put
Description copied from class:UResource.SinkCalled once for each bundle (child-parent-...-root). The value is normally an array or table resource, and implementations of this method normally iterate over the tree of resource items stored there.- Specified by:
putin classUResource.Sink- Parameters:
key- Initially the key string of the enumeration-start resource. Empty if the enumeration starts at the top level of the bundle. Reuse for output values from Array and Table getters.value- Call getArray() or getTable() as appropriate. Then reuse for output values from Array and Table getters.noFallback- true if the bundle has no parent; that is, its top-level table has the nofallback attribute, or it is the root bundle of a locale tree.
-
processRules
-
addCutoff
-
setDayPeriodForHoursFromCutoffs
private void setDayPeriodForHoursFromCutoffs() -
parseHour
-