ICU-10261 review comment updates
X-SVN-Rev: 34400
This commit is contained in:
parent
4835d5705a
commit
8ac5d5b068
@ -681,7 +681,7 @@ public:
|
||||
* @param newvalue new value
|
||||
* @param status the error type
|
||||
* @return *this - for chaining (example: format.setAttribute(...).setAttribute(...) )
|
||||
* @internal ICU 5.2 technology preview
|
||||
* @internal ICU technology preview
|
||||
*/
|
||||
|
||||
virtual DateFormat& U_EXPORT2 setBooleanAttribute(UDateFormatBooleanAttribute attr,
|
||||
@ -695,7 +695,7 @@ public:
|
||||
* @param attr the attribute to set
|
||||
* @param status the error type
|
||||
* @return the attribute value. Undefined if there is an error.
|
||||
* @internal ICU 5.2 technology preview
|
||||
* @internal ICU technology preview
|
||||
*/
|
||||
virtual UBool U_EXPORT2 getBooleanAttribute(UDateFormatBooleanAttribute attr, UErrorCode &status) const;
|
||||
|
||||
|
@ -827,15 +827,24 @@ udat_close(UDateFormat* format);
|
||||
|
||||
/**
|
||||
* DateFormat boolean attributes
|
||||
* @internal ICU 5.2 technology preview
|
||||
* @internal ICU technology preview
|
||||
*/
|
||||
typedef enum UDateFormatBooleanAttribute {
|
||||
/** indicates whether whitespace is allowed. Includes trailing dot tolerance. */
|
||||
/**
|
||||
* indicates whether whitespace is allowed. Includes trailing dot tolerance.
|
||||
* @internal ICU technology preview
|
||||
*/
|
||||
UDAT_PARSE_ALLOW_WHITESPACE,
|
||||
/** indicates tolerance of numeric data when String data may be assumed. eg: UDAT_YEAR_NAME_FIELD,
|
||||
* UDAT_STANDALONE_MONTH_FIELD, UDAT_DAY_OF_WEEK_FIELD */
|
||||
/**
|
||||
* indicates tolerance of numeric data when String data may be assumed. eg: UDAT_YEAR_NAME_FIELD,
|
||||
* UDAT_STANDALONE_MONTH_FIELD, UDAT_DAY_OF_WEEK_FIELD
|
||||
* @internal ICU technology preview
|
||||
*/
|
||||
UDAT_PARSE_ALLOW_NUMERIC,
|
||||
/** count boolean date format constants */
|
||||
/**
|
||||
* count boolean date format constants
|
||||
* @internal ICU technology preview
|
||||
*/
|
||||
UDAT_BOOLEAN_ATTRIBUTE_COUNT
|
||||
} UDateFormatBooleanAttribute;
|
||||
|
||||
@ -848,7 +857,7 @@ typedef enum UDateFormatBooleanAttribute {
|
||||
* @param attr The attribute to query; e.g. UDAT_PARSE_ALLOW_WHITESPACE.
|
||||
* @param status A pointer to an UErrorCode to receive any errors
|
||||
* @return The value of attr.
|
||||
* @internal ICU 5.2 technology preview
|
||||
* @internal technology preview
|
||||
*/
|
||||
U_INTERNAL UBool U_EXPORT2
|
||||
udat_getBooleanAttribute(const UDateFormat* fmt, UDateFormatBooleanAttribute attr, UErrorCode* status);
|
||||
@ -861,7 +870,7 @@ udat_getBooleanAttribute(const UDateFormat* fmt, UDateFormatBooleanAttribute att
|
||||
* @param attr The attribute to set; one of UDAT_PARSE_ALLOW_WHITESPACE or UDAT_PARSE_ALLOW_NUMERIC
|
||||
* @param newValue The new value of attr.
|
||||
* @param status A pointer to an UErrorCode to receive any errors
|
||||
* @internal ICU 5.2 technology preview
|
||||
* @internal ICU technology preview
|
||||
*/
|
||||
U_INTERNAL void U_EXPORT2
|
||||
udat_setBooleanAttribute(UDateFormat *fmt, UDateFormatBooleanAttribute attr, UBool, UErrorCode* status);
|
||||
|
Loading…
Reference in New Issue
Block a user