| OLD | NEW |
| 1 /* | 1 /* |
| 2 ****************************************************************************** | 2 ****************************************************************************** |
| 3 * | 3 * |
| 4 * Copyright (C) 1997-2014, International Business Machines | 4 * Copyright (C) 1997-2014, 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 465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 476 * tzname(0) Three-letter time-zone name derived from TZ environment | 476 * tzname(0) Three-letter time-zone name derived from TZ environment |
| 477 * variable. E.g., "PST". | 477 * variable. E.g., "PST". |
| 478 * tzname(1) Three-letter DST zone name derived from TZ environment | 478 * tzname(1) Three-letter DST zone name derived from TZ environment |
| 479 * variable. E.g., "PDT". If DST zone is omitted from TZ, | 479 * variable. E.g., "PDT". If DST zone is omitted from TZ, |
| 480 * tzname(1) is an empty string. | 480 * tzname(1) is an empty string. |
| 481 * @internal | 481 * @internal |
| 482 */ | 482 */ |
| 483 U_INTERNAL const char* U_EXPORT2 uprv_tzname(int n); | 483 U_INTERNAL const char* U_EXPORT2 uprv_tzname(int n); |
| 484 | 484 |
| 485 /** | 485 /** |
| 486 * Reset the global tzname cache. |
| 487 * @internal |
| 488 */ |
| 489 U_INTERNAL void uprv_tzname_clear_cache(); |
| 490 |
| 491 /** |
| 486 * Get UTC (GMT) time measured in milliseconds since 0:00 on 1/1/1970. | 492 * Get UTC (GMT) time measured in milliseconds since 0:00 on 1/1/1970. |
| 487 * This function is affected by 'faketime' and should be the bottleneck for all
user-visible ICU time functions. | 493 * This function is affected by 'faketime' and should be the bottleneck for all
user-visible ICU time functions. |
| 488 * @return the UTC time measured in milliseconds | 494 * @return the UTC time measured in milliseconds |
| 489 * @internal | 495 * @internal |
| 490 */ | 496 */ |
| 491 U_INTERNAL UDate U_EXPORT2 uprv_getUTCtime(void); | 497 U_INTERNAL UDate U_EXPORT2 uprv_getUTCtime(void); |
| 492 | 498 |
| 493 /** | 499 /** |
| 494 * Get UTC (GMT) time measured in milliseconds since 0:00 on 1/1/1970. | 500 * Get UTC (GMT) time measured in milliseconds since 0:00 on 1/1/1970. |
| 495 * This function is not affected by 'faketime', so it should only be used by low
level test functions- not by anything that | 501 * 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... |
| 602 /* also _C_TS_calloc(x) */ | 608 /* also _C_TS_calloc(x) */ |
| 603 #else | 609 #else |
| 604 /* C defaults */ | 610 /* C defaults */ |
| 605 # define uprv_default_malloc(x) malloc(x) | 611 # define uprv_default_malloc(x) malloc(x) |
| 606 # define uprv_default_realloc(x,y) realloc(x,y) | 612 # define uprv_default_realloc(x,y) realloc(x,y) |
| 607 # define uprv_default_free(x) free(x) | 613 # define uprv_default_free(x) free(x) |
| 608 #endif | 614 #endif |
| 609 | 615 |
| 610 | 616 |
| 611 #endif | 617 #endif |
| OLD | NEW |