Access | Constructor and Description |
---|---|
protected |
Modifier and Type | Method and Description |
---|---|
public abstract String | Returns: formatting patternString an timeStyle, int int value, representing FormatStyle constant, -1
for date-only patternan dateStyle, String int value, representing FormatStyle constant, -1
for time-only patterna calType, Locale String , non-null representing CalendarType such as "japanese",
"iso8601"locale , non-nullReturns the formatting pattern for a timeStyle dateStyle, calendarType and locale. |
public String | Returns: formatting patternString the requested template, not null requestedTemplate, String a calType, Locale String , non-null representing CalendarType such as "japanese",
"iso8601"locale , non-nullReturns the formatting pattern for the requested template, calendarType, and locale. |
JavaTimeDateTimePatternProvider | back to summary |
---|---|
protected JavaTimeDateTimePatternProvider() |
getJavaTimeDateTimePattern | back to summary |
---|---|
public abstract String getJavaTimeDateTimePattern(int timeStyle, int dateStyle, String calType, Locale locale) Returns the formatting pattern for a timeStyle dateStyle, calendarType and locale. Concrete implementation of this method will retrieve a java.time specific dateTime Pattern from the selected Locale Provider.
|
getJavaTimeDateTimePattern | back to summary |
---|---|
public String getJavaTimeDateTimePattern(String requestedTemplate, String calType, Locale locale) Returns the formatting pattern for the requested template, calendarType, and locale. Concrete implementation of this method will retrieve a java.time specific pattern from selected Locale Provider.
|