object DateTimeFormatterBuilder
- Alphabetic
- By Inheritance
- DateTimeFormatterBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- def getLocalizedDateTimePattern(dateStyle: FormatStyle, timeStyle: FormatStyle, chrono: Chronology, locale: Locale): String
Gets the formatting pattern for date and time styles for a locale and chronology.
Gets the formatting pattern for date and time styles for a locale and chronology. The locale and chronology are used to lookup the locale specific format for the requested dateStyle and/or timeStyle.
- dateStyle
the FormatStyle for the date
- timeStyle
the FormatStyle for the time
- chrono
the Chronology, non-null
- locale
the locale, non-null
- returns
the locale and Chronology specific formatting pattern
- Exceptions thrown
IllegalArgumentException
if both dateStyle and timeStyle are null