com.ibm.icu.text

Class DateTimePatternGenerator.FormatParser

public static class DateTimePatternGenerator.FormatParser extends Object

Deprecated:

Class providing date formatting

UNKNOWN:

Constructor Summary
FormatParser()
Simple constructor, since this is treated like a struct.
Method Summary
ListgetAutoPatterns(String value, List result)
Internal routine
ListgetItems()
Returns modifiable list which is a mixture of Strings and VariableFields, in the order found during parsing.
StringgetVariableFieldString()
booleanhasDateAndTimeFields()
Internal method

Returns true if it has a mixture of date and time fields

ObjectquoteLiteral(String string)
produce a quoted literal
DateTimePatternGenerator.FormatParserset(String string)
Set the string to parse
StringtoString()
Provide display form of formatted input
StringtoString(int start, int limit)
Provide display form of formatted input

Constructor Detail

FormatParser

public FormatParser()

Deprecated:

Simple constructor, since this is treated like a struct.

UNKNOWN:

Method Detail

getAutoPatterns

public List getAutoPatterns(String value, List result)

Deprecated:

Internal routine

Parameters: value result

Returns: list

UNKNOWN:

getItems

public List getItems()

Deprecated:

Returns modifiable list which is a mixture of Strings and VariableFields, in the order found during parsing.

Returns: modifiable list of items.

UNKNOWN:

getVariableFieldString

public String getVariableFieldString()

Deprecated:

Returns: a string which is a concatenation of all the variable fields

UNKNOWN:

hasDateAndTimeFields

public boolean hasDateAndTimeFields()

Deprecated:

Internal method

Returns true if it has a mixture of date and time fields

Returns: true or false

UNKNOWN:

quoteLiteral

public Object quoteLiteral(String string)

Deprecated:

produce a quoted literal

Parameters: string

Returns: string with quoted literals

UNKNOWN:

set

public DateTimePatternGenerator.FormatParser set(String string)

Deprecated:

Set the string to parse

Parameters: string

Returns: this, for chaining

UNKNOWN:

toString

public String toString()

Deprecated:

Provide display form of formatted input

Returns: printable output string

UNKNOWN:

toString

public String toString(int start, int limit)

Deprecated:

Provide display form of formatted input

Parameters: start item to start from limit last item +1

Returns: printable output string

UNKNOWN:

Copyright (c) 2007 IBM Corporation and others.