dtitvfmt.h | dtitvfmt.h | |||
---|---|---|---|---|
skipping to change at line 34 | skipping to change at line 34 | |||
#include "unicode/smpdtfmt.h" | #include "unicode/smpdtfmt.h" | |||
#include "unicode/dtintrv.h" | #include "unicode/dtintrv.h" | |||
#include "unicode/dtitvinf.h" | #include "unicode/dtitvinf.h" | |||
#include "unicode/dtptngen.h" | #include "unicode/dtptngen.h" | |||
U_NAMESPACE_BEGIN | U_NAMESPACE_BEGIN | |||
/** | /** | |||
* DateIntervalFormat is a class for formatting and parsing date | * DateIntervalFormat is a class for formatting and parsing date | |||
* intervals in a language-independent manner. | * intervals in a language-independent manner. | |||
* Date interval formatting is supported in Gregorian calendar only. | * Only formatting is supported, parsing is not supported. | |||
* And only formatting is supported. Parsing is not supported. | ||||
* | * | |||
* <P> | * <P> | |||
* Date interval means from one date to another date, | * Date interval means from one date to another date, | |||
* for example, from "Jan 11, 2008" to "Jan 18, 2008". | * for example, from "Jan 11, 2008" to "Jan 18, 2008". | |||
* We introduced class DateInterval to represent it. | * We introduced class DateInterval to represent it. | |||
* DateInterval is a pair of UDate, which is | * DateInterval is a pair of UDate, which is | |||
* the standard milliseconds since 24:00 GMT, Jan 1, 1970. | * the standard milliseconds since 24:00 GMT, Jan 1, 1970. | |||
* | * | |||
* <P> | * <P> | |||
* DateIntervalFormat formats a DateInterval into | * DateIntervalFormat formats a DateInterval into | |||
End of changes. 1 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
dtitvinf.h | dtitvinf.h | |||
---|---|---|---|---|
skipping to change at line 153 | skipping to change at line 153 | |||
* calendar fields are different: ERA, YEAR, MONTH, DATE, DAY_OF_MONTH, | * calendar fields are different: ERA, YEAR, MONTH, DATE, DAY_OF_MONTH, | |||
* DAY_OF_WEEK, AM_PM, HOUR, HOUR_OF_DAY, and MINUTE. | * DAY_OF_WEEK, AM_PM, HOUR, HOUR_OF_DAY, and MINUTE. | |||
* Interval patterns when other calendar fields are different is not suppor ted. | * Interval patterns when other calendar fields are different is not suppor ted. | |||
* <P> | * <P> | |||
* DateIntervalInfo objects are cloneable. | * DateIntervalInfo objects are cloneable. | |||
* When clients obtain a DateIntervalInfo object, | * When clients obtain a DateIntervalInfo object, | |||
* they can feel free to modify it as necessary. | * they can feel free to modify it as necessary. | |||
* <P> | * <P> | |||
* DateIntervalInfo are not expected to be subclassed. | * DateIntervalInfo are not expected to be subclassed. | |||
* Data for a calendar is loaded out of resource bundles. | * Data for a calendar is loaded out of resource bundles. | |||
* To ICU 4.0, date interval patterns are only supported in Gregorian calen | * Through ICU 4.4, date interval patterns are only supported in the Gregor | |||
dar. | ian | |||
* calendar; non-Gregorian calendars are supported from ICU 4.4.1. | ||||
* @stable ICU 4.0 | * @stable ICU 4.0 | |||
**/ | **/ | |||
class U_I18N_API DateIntervalInfo : public UObject { | class U_I18N_API DateIntervalInfo : public UObject { | |||
public: | public: | |||
/** | /** | |||
* Default constructor. | * Default constructor. | |||
* It does not initialize any interval patterns except | * It does not initialize any interval patterns except | |||
* that it initialize default fall-back pattern as "{0} - {1}", | * that it initialize default fall-back pattern as "{0} - {1}", | |||
* which can be reset by setFallbackIntervalPattern(). | * which can be reset by setFallbackIntervalPattern(). | |||
skipping to change at line 176 | skipping to change at line 177 | |||
* and is recommended to be used only for power users who | * and is recommended to be used only for power users who | |||
* wants to create their own interval patterns and use them to create | * wants to create their own interval patterns and use them to create | |||
* date interval formatter. | * date interval formatter. | |||
* @param status output param set to success/failure code on exit | * @param status output param set to success/failure code on exit | |||
* @internal ICU 4.0 | * @internal ICU 4.0 | |||
*/ | */ | |||
DateIntervalInfo(UErrorCode& status); | DateIntervalInfo(UErrorCode& status); | |||
/** | /** | |||
* Construct DateIntervalInfo for the given locale, | * Construct DateIntervalInfo for the given locale, | |||
* @param locale the interval patterns are loaded from the Gregorian | * @param locale the interval patterns are loaded from the appropriate | |||
* calendar data in this locale. | calendar | |||
* data (specified calendar or default calendar) in this | ||||
locale. | ||||
* @param status output param set to success/failure code on exit | * @param status output param set to success/failure code on exit | |||
* @stable ICU 4.0 | * @stable ICU 4.0 | |||
*/ | */ | |||
DateIntervalInfo(const Locale& locale, UErrorCode& status); | DateIntervalInfo(const Locale& locale, UErrorCode& status); | |||
/** | /** | |||
* Copy constructor. | * Copy constructor. | |||
* @stable ICU 4.0 | * @stable ICU 4.0 | |||
*/ | */ | |||
DateIntervalInfo(const DateIntervalInfo&); | DateIntervalInfo(const DateIntervalInfo&); | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 7 lines changed or added | |||
ptypes.h | ptypes.h | |||
---|---|---|---|---|
/* | /* | |||
*************************************************************************** *** | *************************************************************************** *** | |||
* | * | |||
* Copyright (C) 1997-2009, International Business Machines | * Copyright (C) 1997-2010, International Business Machines | |||
* Corporation and others. All Rights Reserved. | * Corporation and others. All Rights Reserved. | |||
* | * | |||
*************************************************************************** *** | *************************************************************************** *** | |||
* | * | |||
* FILE NAME : ptypes.h | * FILE NAME : ptypes.h | |||
* | * | |||
* Date Name Description | * Date Name Description | |||
* 05/13/98 nos Creation (content moved here from ptypes.h). | * 05/13/98 nos Creation (content moved here from ptypes.h). | |||
* 03/02/99 stephen Added AS400 support. | * 03/02/99 stephen Added AS400 support. | |||
* 03/30/99 stephen Added Linux support. | * 03/30/99 stephen Added Linux support. | |||
* 04/13/99 stephen Reworked for autoconf. | * 04/13/99 stephen Reworked for autoconf. | |||
* 09/18/08 srl Moved basic types back to ptypes.h from platfor m.h | * 09/18/08 srl Moved basic types back to ptypes.h from platfor m.h | |||
*************************************************************************** *** | *************************************************************************** *** | |||
*/ | */ | |||
#ifndef _PTYPES_H | #ifndef _PTYPES_H | |||
#define _PTYPES_H | #define _PTYPES_H | |||
#include <sys/types.h> | ||||
#include "unicode/platform.h" | #include "unicode/platform.h" | |||
/*========================================================================= ==*/ | /*========================================================================= ==*/ | |||
/* Generic data types */ | /* Generic data types */ | |||
/*========================================================================= ==*/ | /*========================================================================= ==*/ | |||
#include <sys/types.h> | ||||
/* If your platform does not have the <inttypes.h> header, you may | /* If your platform does not have the <inttypes.h> header, you may | |||
need to edit the typedefs below. */ | need to edit the typedefs below. */ | |||
#if U_HAVE_INTTYPES_H | #if U_HAVE_INTTYPES_H | |||
/* autoconf 2.13 sometimes can't properly find the data types in <inttypes. h> */ | /* autoconf 2.13 sometimes can't properly find the data types in <inttypes. h> */ | |||
/* os/390 needs <inttypes.h>, but it doesn't have int8_t, and it sometimes */ | /* os/390 needs <inttypes.h>, but it doesn't have int8_t, and it sometimes */ | |||
/* doesn't have uint8_t depending on the OS version. */ | /* doesn't have uint8_t depending on the OS version. */ | |||
/* So we have this work around. */ | /* So we have this work around. */ | |||
#ifdef OS390 | #ifdef OS390 | |||
/* The features header is needed to get (u)int64_t sometimes. */ | /* The features header is needed to get (u)int64_t sometimes. */ | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added | |||
uvernum.h | uvernum.h | |||
---|---|---|---|---|
skipping to change at line 63 | skipping to change at line 63 | |||
/** The current ICU minor version as an integer. | /** The current ICU minor version as an integer. | |||
* This value will change in the subsequent releases of ICU | * This value will change in the subsequent releases of ICU | |||
* @stable ICU 2.6 | * @stable ICU 2.6 | |||
*/ | */ | |||
#define U_ICU_VERSION_MINOR_NUM 4 | #define U_ICU_VERSION_MINOR_NUM 4 | |||
/** The current ICU patchlevel version as an integer. | /** The current ICU patchlevel version as an integer. | |||
* This value will change in the subsequent releases of ICU | * This value will change in the subsequent releases of ICU | |||
* @stable ICU 2.4 | * @stable ICU 2.4 | |||
*/ | */ | |||
#define U_ICU_VERSION_PATCHLEVEL_NUM 0 | #define U_ICU_VERSION_PATCHLEVEL_NUM 1 | |||
/** The current ICU build level version as an integer. | /** The current ICU build level version as an integer. | |||
* This value is for use by ICU clients. It defaults to 0. | * This value is for use by ICU clients. It defaults to 0. | |||
* @stable ICU 4.0 | * @stable ICU 4.0 | |||
*/ | */ | |||
#ifndef U_ICU_VERSION_BUILDLEVEL_NUM | #ifndef U_ICU_VERSION_BUILDLEVEL_NUM | |||
#define U_ICU_VERSION_BUILDLEVEL_NUM 0 | #define U_ICU_VERSION_BUILDLEVEL_NUM 0 | |||
#endif | #endif | |||
/** Glued version suffix for renamers | /** Glued version suffix for renamers | |||
skipping to change at line 94 | skipping to change at line 94 | |||
*/ | */ | |||
#ifndef U_ICU_ENTRY_POINT_RENAME | #ifndef U_ICU_ENTRY_POINT_RENAME | |||
#define U_ICU_ENTRY_POINT_RENAME(x) x ## _44 | #define U_ICU_ENTRY_POINT_RENAME(x) x ## _44 | |||
#endif | #endif | |||
/** The current ICU library version as a dotted-decimal string. The patchle vel | /** The current ICU library version as a dotted-decimal string. The patchle vel | |||
* only appears in this string if it non-zero. | * only appears in this string if it non-zero. | |||
* This value will change in the subsequent releases of ICU | * This value will change in the subsequent releases of ICU | |||
* @stable ICU 2.4 | * @stable ICU 2.4 | |||
*/ | */ | |||
#define U_ICU_VERSION "4.4" | #define U_ICU_VERSION "4.4.1" | |||
/** The current ICU library major/minor version as a string without dots, f or library name suffixes. | /** The current ICU library major/minor version as a string without dots, f or library name suffixes. | |||
* This value will change in the subsequent releases of ICU | * This value will change in the subsequent releases of ICU | |||
* @stable ICU 2.6 | * @stable ICU 2.6 | |||
*/ | */ | |||
#define U_ICU_VERSION_SHORT "44" | #define U_ICU_VERSION_SHORT "44" | |||
/** Data version in ICU4C. | /** Data version in ICU4C. | |||
* @internal ICU 4.4 Internal Use Only | * @internal ICU 4.4 Internal Use Only | |||
**/ | **/ | |||
#define U_ICU_DATA_VERSION "4.4" | #define U_ICU_DATA_VERSION "4.4.0.1" | |||
/*========================================================================= == | /*========================================================================= == | |||
* ICU collation framework version information | * ICU collation framework version information | |||
* Version info that can be obtained from a collator is affected by these | * Version info that can be obtained from a collator is affected by these | |||
* numbers in a secret and magic way. Please use collator version as whole | * numbers in a secret and magic way. Please use collator version as whole | |||
*========================================================================= == | *========================================================================= == | |||
*/ | */ | |||
/** Collation runtime version (sort key generator, strcoll). | /** Collation runtime version (sort key generator, strcoll). | |||
* If the version is different, sortkeys for the same string could be diffe rent | * If the version is different, sortkeys for the same string could be diffe rent | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added | |||