Lines Matching defs:DayPeriodRulesDataSink
47 struct DayPeriodRulesDataSink : public ResourceSink { struct
48 DayPeriodRulesDataSink() { in DayPeriodRulesDataSink() argument
53 virtual void put(const char *key, ResourceValue &value, UBool, UErrorCode &errorCode) { in put()
81 void processRules(const ResourceTable &rules, const char *key, in processRules()
133 int32_t cutoffs[25]; // [0] thru [24]: 24 is allowed in "before 24".
136 int32_t ruleSetNum;
137 DayPeriodRules::DayPeriod period;
138 CutoffType cutoffType;
141 static int32_t parseSetNum(const UnicodeString &setNumStr, UErrorCode &errorCode) { in parseSetNum()
147 static int32_t parseSetNum(const char *setNumStr, UErrorCode &errorCode) { in parseSetNum()
177 void addCutoff(CutoffType type, const UnicodeString &hour_str, UErrorCode &errorCode) { in addCutoff()
192 void setDayPeriodForHoursFromCutoffs(UErrorCode &errorCode) { in setDayPeriodForHoursFromCutoffs()
228 static CutoffType getCutoffTypeFromString(const char *type_str) { in getCutoffTypeFromString()
243 static int32_t parseHour(const UnicodeString &time, UErrorCode &errorCode) { in parseHour()