• Home
  • Raw
  • Download

Lines Matching refs:cal

189 ucal_close(UCalendar *cal)  in ucal_close()  argument
191 if (cal != nullptr) { in ucal_close()
192 delete (Calendar*) cal; in ucal_close()
197 ucal_clone(const UCalendar* cal, in ucal_clone() argument
202 Calendar* res = ((Calendar*)cal)->clone(); in ucal_clone()
213 ucal_setTimeZone( UCalendar* cal, in ucal_setTimeZone() argument
226 ((Calendar*)cal)->adoptTimeZone(zone); in ucal_setTimeZone()
231 ucal_getTimeZoneID(const UCalendar *cal, in ucal_getTimeZoneID() argument
239 const TimeZone& tz = ((Calendar*)cal)->getTimeZone(); in ucal_getTimeZoneID()
246 ucal_getTimeZoneDisplayName(const UCalendar* cal, in ucal_getTimeZoneDisplayName() argument
256 const TimeZone& tz = ((Calendar*)cal)->getTimeZone(); in ucal_getTimeZoneDisplayName()
286 ucal_inDaylightTime( const UCalendar* cal, in ucal_inDaylightTime() argument
291 return ((Calendar*)cal)->inDaylightTime(*status); in ucal_inDaylightTime()
295 ucal_setGregorianChange(UCalendar *cal, UDate date, UErrorCode *pErrorCode) { in ucal_setGregorianChange() argument
299 Calendar *cpp_cal = (Calendar *)cal; in ucal_setGregorianChange()
318 ucal_getGregorianChange(const UCalendar *cal, UErrorCode *pErrorCode) { in ucal_getGregorianChange() argument
322 const Calendar *cpp_cal = (const Calendar *)cal; in ucal_getGregorianChange()
340 ucal_getAttribute( const UCalendar* cal, in ucal_getAttribute() argument
346 return ((Calendar*)cal)->isLenient(); in ucal_getAttribute()
349 return ((Calendar*)cal)->getFirstDayOfWeek(); in ucal_getAttribute()
352 return ((Calendar*)cal)->getMinimalDaysInFirstWeek(); in ucal_getAttribute()
355 return ((Calendar*)cal)->getRepeatedWallTimeOption(); in ucal_getAttribute()
358 return ((Calendar*)cal)->getSkippedWallTimeOption(); in ucal_getAttribute()
367 ucal_setAttribute( UCalendar* cal, in ucal_setAttribute() argument
374 ((Calendar*)cal)->setLenient((UBool)newValue); in ucal_setAttribute()
378 ((Calendar*)cal)->setFirstDayOfWeek((UCalendarDaysOfWeek)newValue); in ucal_setAttribute()
382 ((Calendar*)cal)->setMinimalDaysInFirstWeek((uint8_t)newValue); in ucal_setAttribute()
386 ((Calendar*)cal)->setRepeatedWallTimeOption((UCalendarWallTimeOption)newValue); in ucal_setAttribute()
390 ((Calendar*)cal)->setSkippedWallTimeOption((UCalendarWallTimeOption)newValue); in ucal_setAttribute()
410 ucal_getMillis( const UCalendar* cal, in ucal_getMillis() argument
416 return ((Calendar*)cal)->getTime(*status); in ucal_getMillis()
420 ucal_setMillis( UCalendar* cal, in ucal_setMillis() argument
426 ((Calendar*)cal)->setTime(dateTime, *status); in ucal_setMillis()
431 ucal_setDate( UCalendar* cal, in ucal_setDate() argument
440 ((Calendar*)cal)->set(year, month, date); in ucal_setDate()
445 ucal_setDateTime( UCalendar* cal, in ucal_setDateTime() argument
456 ((Calendar*)cal)->set(year, month, date, hour, minute, second); in ucal_setDateTime()
468 ucal_add( UCalendar* cal, in ucal_add() argument
476 ((Calendar*)cal)->add(field, amount, *status); in ucal_add()
480 ucal_roll( UCalendar* cal, in ucal_roll() argument
488 ((Calendar*)cal)->roll(field, amount, *status); in ucal_roll()
492 ucal_get( const UCalendar* cal, in ucal_get() argument
499 return ((Calendar*)cal)->get(field, *status); in ucal_get()
503 ucal_set( UCalendar* cal, in ucal_set() argument
508 ((Calendar*)cal)->set(field, value); in ucal_set()
512 ucal_isSet( const UCalendar* cal, in ucal_isSet() argument
516 return ((Calendar*)cal)->isSet(field); in ucal_isSet()
520 ucal_clearField( UCalendar* cal, in ucal_clearField() argument
524 ((Calendar*)cal)->clear(field); in ucal_clearField()
535 ucal_getLimit( const UCalendar* cal, in ucal_getLimit() argument
547 return ((Calendar*)cal)->getMinimum(field); in ucal_getLimit()
550 return ((Calendar*)cal)->getMaximum(field); in ucal_getLimit()
553 return ((Calendar*)cal)->getGreatestMinimum(field); in ucal_getLimit()
556 return ((Calendar*)cal)->getLeastMaximum(field); in ucal_getLimit()
559 return ((Calendar*)cal)->getActualMinimum(field, in ucal_getLimit()
563 return ((Calendar*)cal)->getActualMaximum(field, in ucal_getLimit()
573 ucal_getLocaleByType(const UCalendar *cal, ULocDataLocaleType type, UErrorCode* status) in ucal_getLocaleByType() argument
575 if (cal == nullptr) { in ucal_getLocaleByType()
581 return ((Calendar*)cal)->getLocaleID(type, *status); in ucal_getLocaleByType()
617 ucal_getType(const UCalendar *cal, UErrorCode* status) in ucal_getType() argument
622 return ((Calendar*)cal)->getType(); in ucal_getType()
626 ucal_getDayOfWeekType(const UCalendar *cal, UCalendarDaysOfWeek dayOfWeek, UErrorCode* status) in ucal_getDayOfWeekType() argument
631 return ((Calendar*)cal)->getDayOfWeekType(dayOfWeek, *status); in ucal_getDayOfWeekType()
635 ucal_getWeekendTransition(const UCalendar *cal, UCalendarDaysOfWeek dayOfWeek, UErrorCode *status) in ucal_getWeekendTransition() argument
640 return ((Calendar*)cal)->getWeekendTransition(dayOfWeek, *status); in ucal_getWeekendTransition()
644 ucal_isWeekend(const UCalendar *cal, UDate date, UErrorCode *status) in ucal_isWeekend() argument
649 return ((Calendar*)cal)->isWeekend(date, *status); in ucal_isWeekend()
653 ucal_getFieldDifference(UCalendar* cal, UDate target, in ucal_getFieldDifference() argument
660 return ((Calendar*)cal)->fieldDifference(target, field, *status); in ucal_getFieldDifference()
772 ucal_getTimeZoneTransitionDate(const UCalendar* cal, UTimeZoneTransitionType type, in ucal_getTimeZoneTransitionDate() argument
778 UDate base = ((Calendar*)cal)->getTime(*status); in ucal_getTimeZoneTransitionDate()
779 const TimeZone& tz = ((Calendar*)cal)->getTimeZone(); in ucal_getTimeZoneTransitionDate()
832 const UCalendar* cal, in ucal_getTimeZoneOffsetFromLocal() argument
840 UDate date = ((Calendar*)cal)->getTime(*status); in ucal_getTimeZoneOffsetFromLocal()
844 const TimeZone& tz = ((Calendar*)cal)->getTimeZone(); in ucal_getTimeZoneOffsetFromLocal()