OLD | NEW |
1 /* | 1 /* |
2 ****************************************************************************** | 2 ****************************************************************************** |
3 * Copyright (C) 2003-2013, International Business Machines Corporation | 3 * Copyright (C) 2003-2013, International Business Machines Corporation |
4 * and others. All Rights Reserved. | 4 * and others. All Rights Reserved. |
5 ****************************************************************************** | 5 ****************************************************************************** |
6 * | 6 * |
7 * File HEBRWCAL.H | 7 * File HEBRWCAL.H |
8 * | 8 * |
9 * Modification History: | 9 * Modification History: |
10 * | 10 * |
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 * the given year, otherwise, compute the day before the first day of | 355 * the given year, otherwise, compute the day before the first day of |
356 * the given month | 356 * the given month |
357 * @param return the Julian day number of the day before the first | 357 * @param return the Julian day number of the day before the first |
358 * day of the given month and year | 358 * day of the given month and year |
359 * @internal | 359 * @internal |
360 */ | 360 */ |
361 virtual int32_t handleComputeMonthStart(int32_t eyear, int32_t month, | 361 virtual int32_t handleComputeMonthStart(int32_t eyear, int32_t month, |
362 UBool useMonth) const; | 362 UBool useMonth) const; |
363 | 363 |
364 | 364 |
| 365 /** |
| 366 * Validate a single field of this calendar. |
| 367 * Overrides Calendar::validateField(int) to provide |
| 368 * special handling for month validation for Hebrew calendar. |
| 369 * @internal |
| 370 */ |
| 371 virtual void validateField(UCalendarDateFields field, UErrorCode &status); |
365 | 372 |
366 protected: | 373 protected: |
367 | 374 |
368 /** | 375 /** |
369 * (Overrides Calendar) Return true if the current date for this Calendar is i
n | 376 * (Overrides Calendar) Return true if the current date for this Calendar is i
n |
370 * Daylight Savings Time. Recognizes DST_OFFSET, if it is set. | 377 * Daylight Savings Time. Recognizes DST_OFFSET, if it is set. |
371 * | 378 * |
372 * @param status Fill-in parameter which receives the status of this operation
. | 379 * @param status Fill-in parameter which receives the status of this operation
. |
373 * @return True if the current date for this Calendar is in Daylight Savings
Time, | 380 * @return True if the current date for this Calendar is in Daylight Savings
Time, |
374 * false, otherwise. | 381 * false, otherwise. |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
434 static int32_t monthsInYear(int32_t year) ; | 441 static int32_t monthsInYear(int32_t year) ; |
435 }; | 442 }; |
436 | 443 |
437 U_NAMESPACE_END | 444 U_NAMESPACE_END |
438 | 445 |
439 #endif /* #if !UCONFIG_NO_FORMATTING */ | 446 #endif /* #if !UCONFIG_NO_FORMATTING */ |
440 | 447 |
441 #endif | 448 #endif |
442 //eof | 449 //eof |
443 | 450 |
OLD | NEW |