Lines Matching defs:roll

583      * time field. For example, to roll the current date up by one day, call
584 * roll(Calendar::DATE, true). When rolling on the year or Calendar::YEAR field, it
585 * will roll the year value in the range between getMinimum(Calendar::YEAR) and the
595 * then attempting to roll the year past that limit will result in pinning the year
597 * time (such as Buddhist, Hebrew, or Islamic), it is possible for add or roll to
600 * When rolling on the hour-in-day or Calendar::HOUR_OF_DAY field, it will roll the
603 * NOTE: Do not use this method -- use roll(EDateFields, int, UErrorCode&) instead.
611 * @deprecated ICU 2.6. Use roll(UCalendarDateFields field, UBool up, UErrorCode& status) instead.
613 inline void roll(EDateFields field, UBool up, UErrorCode& status);
618 * time field. For example, to roll the current date up by one day, call
619 * roll(Calendar::DATE, true). When rolling on the year or Calendar::YEAR field, it
620 * will roll the year value in the range between getMinimum(Calendar::YEAR) and the
630 * then attempting to roll the year past that limit will result in pinning the year
632 * time (such as Buddhist, Hebrew, or Islamic), it is possible for add or roll to
635 * When rolling on the hour-in-day or Calendar::HOUR_OF_DAY field, it will roll the
638 * NOTE: Do not use this method -- use roll(UCalendarDateFields, int, UErrorCode&) instead.
648 inline void roll(UCalendarDateFields field, UBool up, UErrorCode& status);
652 * time field. For example, to roll the current date up by one day, call
653 * roll(Calendar::DATE, +1, status). When rolling on the month or
662 * then attempting to roll the year past that limit will result in pinning the year
664 * time (such as Buddhist, Hebrew, or Islamic), it is possible for add or roll to
667 * When rolling on the hour-in-day or Calendar::HOUR_OF_DAY field, it will roll the
670 * The only difference between roll() and add() is that roll() does not change
675 * @param amount Indicates amount to roll.
679 * @deprecated ICU 2.6. Use roll(UCalendarDateFields field, int32_t amount, UErrorCode& status) instead.
681 virtual void roll(EDateFields field, int32_t amount, UErrorCode& status);
685 * time field. For example, to roll the current date up by one day, call
686 * roll(Calendar::DATE, +1, status). When rolling on the month or
695 * then attempting to roll the year past that limit will result in pinning the year
697 * time (such as Buddhist, Hebrew, or Islamic), it is possible for add or roll to
700 * When rolling on the hour-in-day or Calendar::HOUR_OF_DAY field, it will roll the
703 * The only difference between roll() and add() is that roll() does not change
708 * @param amount Indicates amount to roll.
714 virtual void roll(UCalendarDateFields field, int32_t amount, UErrorCode& status);
2022 // for implementing add, roll, and computeFields.
2035 * their own overrides of {@link #roll roll} and {@link #add add}.
2478 Calendar::roll(UCalendarDateFields field, UBool up, UErrorCode& status)
2480 roll(field, (int32_t)(up ? +1 : -1), status);
2485 Calendar::roll(EDateFields field, UBool up, UErrorCode& status)
2487 roll((UCalendarDateFields) field, up, status);