Liking cljdoc? Tell your friends :D

jdk.text.spi.DateFormatProvider

An abstract class for service providers that provide concrete implementations of the DateFormat class.

An abstract class for service providers that
provide concrete implementations of the
DateFormat class.
raw docstring

get-date-instanceclj

(get-date-instance this style locale)

Returns a new DateFormat instance which formats date with the given formatting style for the specified locale.

style - the given formatting style. Either one of DateFormat.SHORT, DateFormat.MEDIUM, DateFormat.LONG, or DateFormat.FULL. - int locale - the desired locale. - java.util.Locale

returns: a date formatter. - java.text.DateFormat

throws: java.lang.IllegalArgumentException - if style is invalid, or if locale isn't one of the locales returned from getAvailableLocales().

Returns a new DateFormat instance which formats date
 with the given formatting style for the specified locale.

style - the given formatting style. Either one of DateFormat.SHORT, DateFormat.MEDIUM, DateFormat.LONG, or DateFormat.FULL. - `int`
locale - the desired locale. - `java.util.Locale`

returns: a date formatter. - `java.text.DateFormat`

throws: java.lang.IllegalArgumentException - if style is invalid, or if locale isn't one of the locales returned from getAvailableLocales().
raw docstring

get-date-time-instanceclj

(get-date-time-instance this date-style time-style locale)

Returns a new DateFormat instance which formats date and time with the given formatting style for the specified locale.

date-style - the given date formatting style. Either one of DateFormat.SHORT, DateFormat.MEDIUM, DateFormat.LONG, or DateFormat.FULL. - int time-style - the given time formatting style. Either one of DateFormat.SHORT, DateFormat.MEDIUM, DateFormat.LONG, or DateFormat.FULL. - int locale - the desired locale. - java.util.Locale

returns: a date/time formatter. - java.text.DateFormat

throws: java.lang.IllegalArgumentException - if dateStyle or timeStyle is invalid, or if locale isn't one of the locales returned from getAvailableLocales().

Returns a new DateFormat instance which formats date and time
 with the given formatting style for the specified locale.

date-style - the given date formatting style. Either one of DateFormat.SHORT, DateFormat.MEDIUM, DateFormat.LONG, or DateFormat.FULL. - `int`
time-style - the given time formatting style. Either one of DateFormat.SHORT, DateFormat.MEDIUM, DateFormat.LONG, or DateFormat.FULL. - `int`
locale - the desired locale. - `java.util.Locale`

returns: a date/time formatter. - `java.text.DateFormat`

throws: java.lang.IllegalArgumentException - if dateStyle or timeStyle is invalid, or if locale isn't one of the locales returned from getAvailableLocales().
raw docstring

get-time-instanceclj

(get-time-instance this style locale)

Returns a new DateFormat instance which formats time with the given formatting style for the specified locale.

style - the given formatting style. Either one of DateFormat.SHORT, DateFormat.MEDIUM, DateFormat.LONG, or DateFormat.FULL. - int locale - the desired locale. - java.util.Locale

returns: a time formatter. - java.text.DateFormat

throws: java.lang.IllegalArgumentException - if style is invalid, or if locale isn't one of the locales returned from getAvailableLocales().

Returns a new DateFormat instance which formats time
 with the given formatting style for the specified locale.

style - the given formatting style. Either one of DateFormat.SHORT, DateFormat.MEDIUM, DateFormat.LONG, or DateFormat.FULL. - `int`
locale - the desired locale. - `java.util.Locale`

returns: a time formatter. - `java.text.DateFormat`

throws: java.lang.IllegalArgumentException - if style is invalid, or if locale isn't one of the locales returned from getAvailableLocales().
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close