public class DateStyle extends Object
Constructor and Description |
---|
DateStyle() |
Modifier and Type | Method and Description |
---|---|
static DateTimeFormat |
getDateFormatter(String[] dateStyle)
Creates a DateFormat for handling Dates from a parsed DateStyle string
|
static DateTimeFormat |
getTimeFormatter(String[] dateStyle)
Creates a DateFormat for handling Times from a parsed DateStyle string
|
static DateTimeFormat |
getTimestampFormatter(String[] dateStyle)
Creates a DateFormat for handling Timestamps from a parsed DateStyle string
|
static String[] |
parse(String value)
Parses a DateStyle string into its separate components
|
public static String[] parse(String value)
value
- DateStyle to parsepublic static DateTimeFormat getDateFormatter(String[] dateStyle)
dateStyle
- Parsed DateStylepublic static DateTimeFormat getTimeFormatter(String[] dateStyle)
dateStyle
- Parsed DateStylepublic static DateTimeFormat getTimestampFormatter(String[] dateStyle)
dateStyle
- Parsed DateStyleCopyright © 2013–2017 impossibl.com. All rights reserved.