Home | History | Annotate | Download | only in unicode

Lines Matching defs:roll

545      * time field. For example, to roll the current date up by one day, call
546 * roll(Calendar::DATE, true). When rolling on the year or Calendar::YEAR field, it
547 * will roll the year value in the range between getMinimum(Calendar::YEAR) and the
553 * hour-in-day or Calendar::HOUR_OF_DAY field, it will roll the hour value in the range
556 * NOTE: Do not use this method -- use roll(EDateFields, int, UErrorCode&) instead.
564 * @deprecated ICU 2.6. Use roll(UCalendarDateFields field, UBool up, UErrorCode& status) instead.
566 inline void roll(EDateFields field, UBool up, UErrorCode& status);
570 * time field. For example, to roll the current date up by one day, call
571 * roll(Calendar::DATE, true). When rolling on the year or Calendar::YEAR field, it
572 * will roll the year value in the range between getMinimum(Calendar::YEAR) and the
578 * hour-in-day or Calendar::HOUR_OF_DAY field, it will roll the hour value in the range
581 * NOTE: Do not use this method -- use roll(UCalendarDateFields, int, UErrorCode&) instead.
591 inline void roll(UCalendarDateFields field, UBool up, UErrorCode& status);
595 * time field. For example, to roll the current date up by one day, call
596 * roll(Calendar::DATE, +1, status). When rolling on the month or
602 * roll the hour value in the range between 0 and 23, which is zero-based.
604 * The only difference between roll() and add() is that roll() does not change
609 * @param amount Indicates amount to roll.
613 * @deprecated ICU 2.6. Use roll(UCalendarDateFields field, int32_t amount, UErrorCode& status) instead.
615 virtual void roll(EDateFields field, int32_t amount, UErrorCode& status);
619 * time field. For example, to roll the current date up by one day, call
620 * roll(Calendar::DATE, +1, status). When rolling on the month or
626 * roll the hour value in the range between 0 and 23, which is zero-based.
628 * The only difference between roll() and add() is that roll() does not change
633 * @param amount Indicates amount to roll.
639 virtual void roll(UCalendarDateFields field, int32_t amount, UErrorCode& status);
1814 // for implementing add, roll, and computeFields.
1827 * their own overrides of {@link #roll roll} and {@link #add add}.
2215 Calendar::roll(UCalendarDateFields field, UBool up, UErrorCode& status)
2217 roll(field, (int32_t)(up ? +1 : -1), status);
2221 Calendar::roll(EDateFields field, UBool up, UErrorCode& status)
2223 roll((UCalendarDateFields) field, up, status);