public class IntervalFormatting extends Object
Constructor and Description |
---|
IntervalFormatting(String pattern)
Defines a format using the specified pattern.
|
Modifier and Type | Method and Description |
---|---|
String |
getPattern()
Gets the format pattern used for parsing and formatting
interval values such as Duration and Period.
|
void |
setPattern(String pattern)
Specifies the format pattern to use when parsing or formatting
interval values such as Duration and Period.
|
public IntervalFormatting(String pattern)
pattern
- the text format to usepublic void setPattern(String pattern)
pattern
- the format pattern to usepublic String getPattern()
Copyright © 2019 Actian Corporation. All rights reserved.