Lines Matching refs:TC3_CALENDAR_CHECK
29 #define TC3_CALENDAR_CHECK(EXPR) \ macro
96 TC3_CALENDAR_CHECK(calendar->Initialize(reference_timezone, reference_locale, in InterpretParseData()
108 TC3_CALENDAR_CHECK(calendar->SetZoneOffset(zone_offset * kMillisInMinute)) in InterpretParseData()
115 TC3_CALENDAR_CHECK(calendar->SetDstOffset(dst_offset * kMillisInHour)) in InterpretParseData()
123 TC3_CALENDAR_CHECK(ApplyRelationField(relative_component, calendar)); in InterpretParseData()
128 TC3_CALENDAR_CHECK(calendar->SetHourOfDay(0)) in InterpretParseData()
129 TC3_CALENDAR_CHECK(calendar->SetMinute(0)) in InterpretParseData()
130 TC3_CALENDAR_CHECK(calendar->SetSecond(0)) in InterpretParseData()
131 TC3_CALENDAR_CHECK(calendar->SetMillisecond(0)) in InterpretParseData()
136 TC3_CALENDAR_CHECK(calendar->SetYear(year)) in InterpretParseData()
143 TC3_CALENDAR_CHECK(calendar->SetMonth(month - 1)) in InterpretParseData()
151 TC3_CALENDAR_CHECK(calendar->SetDayOfMonth(day_of_month)) in InterpretParseData()
161 TC3_CALENDAR_CHECK(calendar->SetHourOfDay(hour + 12)) in InterpretParseData()
165 TC3_CALENDAR_CHECK(calendar->SetHourOfDay(0)); in InterpretParseData()
167 TC3_CALENDAR_CHECK(calendar->SetHourOfDay(hour)) in InterpretParseData()
170 TC3_CALENDAR_CHECK(calendar->SetHourOfDay(hour)) in InterpretParseData()
176 TC3_CALENDAR_CHECK(calendar->SetMinute(minute)) in InterpretParseData()
181 TC3_CALENDAR_CHECK(calendar->SetSecond(second)) in InterpretParseData()
184 TC3_CALENDAR_CHECK(RoundToGranularity(*granularity, calendar)) in InterpretParseData()
188 TC3_CALENDAR_CHECK(calendar->GetTimeInMillis(&calendar_millis)) in InterpretParseData()
207 TC3_CALENDAR_CHECK(AdjustByRelation(relative_date_time_component, in ApplyRelationField()
212 TC3_CALENDAR_CHECK(AdjustByRelation(relative_date_time_component, in ApplyRelationField()
217 TC3_CALENDAR_CHECK(AdjustByRelation(relative_date_time_component, in ApplyRelationField()
224 TC3_CALENDAR_CHECK(calendar->AddDayOfMonth(1)); in ApplyRelationField()
227 TC3_CALENDAR_CHECK(calendar->AddDayOfMonth(-1)); in ApplyRelationField()
230 TC3_CALENDAR_CHECK( in ApplyRelationField()
236 TC3_CALENDAR_CHECK( in ApplyRelationField()
250 TC3_CALENDAR_CHECK(calendar->GetDayOfWeek(&unused)); in RoundToGranularity()
254 TC3_CALENDAR_CHECK(calendar->SetMonth(0)); in RoundToGranularity()
257 TC3_CALENDAR_CHECK(calendar->SetDayOfMonth(1)); in RoundToGranularity()
260 TC3_CALENDAR_CHECK(calendar->SetHourOfDay(0)); in RoundToGranularity()
263 TC3_CALENDAR_CHECK(calendar->SetMinute(0)); in RoundToGranularity()
266 TC3_CALENDAR_CHECK(calendar->SetSecond(0)); in RoundToGranularity()
271 TC3_CALENDAR_CHECK(calendar->GetFirstDayOfWeek(&first_day_of_week)); in RoundToGranularity()
272 TC3_CALENDAR_CHECK(calendar->SetDayOfWeek(first_day_of_week)); in RoundToGranularity()
273 TC3_CALENDAR_CHECK(calendar->SetHourOfDay(0)); in RoundToGranularity()
274 TC3_CALENDAR_CHECK(calendar->SetMinute(0)); in RoundToGranularity()
275 TC3_CALENDAR_CHECK(calendar->SetSecond(0)); in RoundToGranularity()
294 TC3_CALENDAR_CHECK(calendar->AddDayOfMonth(distance_sign)) in AdjustByRelation()
299 TC3_CALENDAR_CHECK(calendar->GetDayOfWeek(&day_of_week)) in AdjustByRelation()
304 TC3_CALENDAR_CHECK(calendar->AddDayOfMonth(distance_sign)) in AdjustByRelation()
308 TC3_CALENDAR_CHECK(calendar->AddSecond(distance)); in AdjustByRelation()
311 TC3_CALENDAR_CHECK(calendar->AddMinute(distance)); in AdjustByRelation()
314 TC3_CALENDAR_CHECK(calendar->AddHourOfDay(distance)); in AdjustByRelation()
317 TC3_CALENDAR_CHECK(calendar->AddDayOfMonth(distance)); in AdjustByRelation()
320 TC3_CALENDAR_CHECK(calendar->AddDayOfMonth(7 * distance)) in AdjustByRelation()
321 TC3_CALENDAR_CHECK(calendar->SetDayOfWeek(1)) in AdjustByRelation()
324 TC3_CALENDAR_CHECK(calendar->AddMonth(distance)) in AdjustByRelation()
325 TC3_CALENDAR_CHECK(calendar->SetDayOfMonth(1)) in AdjustByRelation()
328 TC3_CALENDAR_CHECK(calendar->AddYear(distance)) in AdjustByRelation()
329 TC3_CALENDAR_CHECK(calendar->SetDayOfYear(1)) in AdjustByRelation()
347 #undef TC3_CALENDAR_CHECK