Home | History | Annotate | Download | only in unicode

Lines Matching defs:roll

539      * time field. For example, to roll the current date up by one day, call
540 * roll(Calendar::DATE, true). When rolling on the year or Calendar::YEAR field, it
541 * will roll the year value in the range between getMinimum(Calendar::YEAR) and the
547 * hour-in-day or Calendar::HOUR_OF_DAY field, it will roll the hour value in the range
550 * NOTE: Do not use this method -- use roll(EDateFields, int, UErrorCode&) instead.
558 * @deprecated ICU 2.6. Use roll(UCalendarDateFields field, UBool up, UErrorCode& status) instead.
560 inline void roll(EDateFields field, UBool up, UErrorCode& status);
564 * time field. For example, to roll the current date up by one day, call
565 * roll(Calendar::DATE, true). When rolling on the year or Calendar::YEAR field, it
566 * will roll the year value in the range between getMinimum(Calendar::YEAR) and the
572 * hour-in-day or Calendar::HOUR_OF_DAY field, it will roll the hour value in the range
575 * NOTE: Do not use this method -- use roll(UCalendarDateFields, int, UErrorCode&) instead.
585 inline void roll(UCalendarDateFields field, UBool up, UErrorCode& status);
589 * time field. For example, to roll the current date up by one day, call
590 * roll(Calendar::DATE, +1, status). When rolling on the month or
596 * roll the hour value in the range between 0 and 23, which is zero-based.
598 * The only difference between roll() and add() is that roll() does not change
603 * @param amount Indicates amount to roll.
607 * @deprecated ICU 2.6. Use roll(UCalendarDateFields field, int32_t amount, UErrorCode& status) instead.
609 virtual void roll(EDateFields field, int32_t amount, UErrorCode& status);
613 * time field. For example, to roll the current date up by one day, call
614 * roll(Calendar::DATE, +1, status). When rolling on the month or
620 * roll the hour value in the range between 0 and 23, which is zero-based.
622 * The only difference between roll() and add() is that roll() does not change
627 * @param amount Indicates amount to roll.
633 virtual void roll(UCalendarDateFields field, int32_t amount, UErrorCode& status);
1755 // for implementing add, roll, and computeFields.
1768 * their own overrides of {@link #roll roll} and {@link #add add}.
2152 Calendar::roll(UCalendarDateFields field, UBool up, UErrorCode& status)
2154 roll(field, (int32_t)(up ? +1 : -1), status);
2158 Calendar::roll(EDateFields field, UBool up, UErrorCode& status)
2160 roll((UCalendarDateFields) field, up, status);