Lines Matching defs:roll
1241 // for implementing add, roll, and computeFields.
1254 * their own overrides of {@link #roll roll} and {@link #add add}.
1536 void Calendar::roll(EDateFields field, int32_t amount, UErrorCode& status)
1538 roll((UCalendarDateFields)field, amount, status);
1541 void Calendar::roll(UCalendarDateFields field, int32_t amount, UErrorCode& status)
1560 // These are the standard roll instructions. These work for all
1605 // E.g., <jan31>.roll(MONTH, 1) -> <feb28> or <feb29>.
1641 // this era has real bounds, roll should wrap years
1672 // This is tricky, because during the roll we may have to shift
1731 // Now roll between start and (limit - 1).
1789 // Now roll between start and (limit - 1).
1850 // and then roll within that range.
1874 fprintf(stderr, "%s:%d: ILLEGAL ARG because of roll on non-rollable field %s\n",
2032 // to roll over/back the date. For now, this only happens