OLD | NEW |
1 /* | 1 /* |
2 ****************************************************************************** | 2 ****************************************************************************** |
3 * | 3 * |
4 * Copyright (C) 1997-2015, International Business Machines | 4 * Copyright (C) 1997-2015, International Business Machines |
5 * Corporation and others. All Rights Reserved. | 5 * Corporation and others. All Rights Reserved. |
6 * | 6 * |
7 ****************************************************************************** | 7 ****************************************************************************** |
8 * | 8 * |
9 * FILE NAME : putilimp.h | 9 * FILE NAME : putilimp.h |
10 * | 10 * |
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
472 * tzname(0) Three-letter time-zone name derived from TZ environment | 472 * tzname(0) Three-letter time-zone name derived from TZ environment |
473 * variable. E.g., "PST". | 473 * variable. E.g., "PST". |
474 * tzname(1) Three-letter DST zone name derived from TZ environment | 474 * tzname(1) Three-letter DST zone name derived from TZ environment |
475 * variable. E.g., "PDT". If DST zone is omitted from TZ, | 475 * variable. E.g., "PDT". If DST zone is omitted from TZ, |
476 * tzname(1) is an empty string. | 476 * tzname(1) is an empty string. |
477 * @internal | 477 * @internal |
478 */ | 478 */ |
479 U_INTERNAL const char* U_EXPORT2 uprv_tzname(int n); | 479 U_INTERNAL const char* U_EXPORT2 uprv_tzname(int n); |
480 | 480 |
481 /** | 481 /** |
| 482 * Reset the global tzname cache. |
| 483 * @internal |
| 484 */ |
| 485 U_INTERNAL void uprv_tzname_clear_cache(); |
| 486 |
| 487 /** |
482 * Get UTC (GMT) time measured in milliseconds since 0:00 on 1/1/1970. | 488 * Get UTC (GMT) time measured in milliseconds since 0:00 on 1/1/1970. |
483 * This function is affected by 'faketime' and should be the bottleneck for all
user-visible ICU time functions. | 489 * This function is affected by 'faketime' and should be the bottleneck for all
user-visible ICU time functions. |
484 * @return the UTC time measured in milliseconds | 490 * @return the UTC time measured in milliseconds |
485 * @internal | 491 * @internal |
486 */ | 492 */ |
487 U_INTERNAL UDate U_EXPORT2 uprv_getUTCtime(void); | 493 U_INTERNAL UDate U_EXPORT2 uprv_getUTCtime(void); |
488 | 494 |
489 /** | 495 /** |
490 * Get UTC (GMT) time measured in milliseconds since 0:00 on 1/1/1970. | 496 * Get UTC (GMT) time measured in milliseconds since 0:00 on 1/1/1970. |
491 * This function is not affected by 'faketime', so it should only be used by low
level test functions- not by anything that | 497 * This function is not affected by 'faketime', so it should only be used by low
level test functions- not by anything that |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
598 /* also _C_TS_calloc(x) */ | 604 /* also _C_TS_calloc(x) */ |
599 #else | 605 #else |
600 /* C defaults */ | 606 /* C defaults */ |
601 # define uprv_default_malloc(x) malloc(x) | 607 # define uprv_default_malloc(x) malloc(x) |
602 # define uprv_default_realloc(x,y) realloc(x,y) | 608 # define uprv_default_realloc(x,y) realloc(x,y) |
603 # define uprv_default_free(x) free(x) | 609 # define uprv_default_free(x) free(x) |
604 #endif | 610 #endif |
605 | 611 |
606 | 612 |
607 #endif | 613 #endif |
OLD | NEW |