Liking cljdoc? Tell your friends :D

jdk.text.DateFormat$Field

Defines constants that are used as attribute keys in the AttributedCharacterIterator returned from DateFormat.formatToCharacterIterator and as field identifiers in FieldPosition.

The class also provides two methods to map between its constants and the corresponding Calendar constants.

Defines constants that are used as attribute keys in the
AttributedCharacterIterator returned
from DateFormat.formatToCharacterIterator and as
field identifiers in FieldPosition.

The class also provides two methods to map
between its constants and the corresponding Calendar constants.
raw docstring

*-am-pmclj

Static Constant.

Constant identifying the time of day indicator (e.g. "a.m." or "p.m.") field.

type: java.text.DateFormat$Field

Static Constant.

Constant identifying the time of day indicator
 (e.g. "a.m." or "p.m.") field.

type: java.text.DateFormat$Field
raw docstring

*-day-of-monthclj

Static Constant.

Constant identifying the day of month field.

type: java.text.DateFormat$Field

Static Constant.

Constant identifying the day of month field.

type: java.text.DateFormat$Field
raw docstring

*-day-of-weekclj

Static Constant.

Constant identifying the day of week field.

type: java.text.DateFormat$Field

Static Constant.

Constant identifying the day of week field.

type: java.text.DateFormat$Field
raw docstring

*-day-of-week-in-monthclj

Static Constant.

Constant identifying the day of week field.

type: java.text.DateFormat$Field

Static Constant.

Constant identifying the day of week field.

type: java.text.DateFormat$Field
raw docstring

*-day-of-yearclj

Static Constant.

Constant identifying the day of year field.

type: java.text.DateFormat$Field

Static Constant.

Constant identifying the day of year field.

type: java.text.DateFormat$Field
raw docstring

*-eraclj

Static Constant.

Constant identifying the era field.

type: java.text.DateFormat$Field

Static Constant.

Constant identifying the era field.

type: java.text.DateFormat$Field
raw docstring

*-hour-0clj

Static Constant.

Constant identifying the hour field, where the legal values are 0 to 11.

type: java.text.DateFormat$Field

Static Constant.

Constant identifying the hour field, where the legal values are
 0 to 11.

type: java.text.DateFormat$Field
raw docstring

*-hour-1clj

Static Constant.

Constant identifying the hour field, where the legal values are 1 to 12.

type: java.text.DateFormat$Field

Static Constant.

Constant identifying the hour field, where the legal values are
 1 to 12.

type: java.text.DateFormat$Field
raw docstring

*-hour-of-day-0clj

Static Constant.

Constant identifying the hour of day field, where the legal values are 0 to 23.

type: java.text.DateFormat$Field

Static Constant.

Constant identifying the hour of day field, where the legal values
 are 0 to 23.

type: java.text.DateFormat$Field
raw docstring

*-hour-of-day-1clj

Static Constant.

Constant identifying the hour of day field, where the legal values are 1 to 24.

type: java.text.DateFormat$Field

Static Constant.

Constant identifying the hour of day field, where the legal values
 are 1 to 24.

type: java.text.DateFormat$Field
raw docstring

*-millisecondclj

Static Constant.

Constant identifying the millisecond field.

type: java.text.DateFormat$Field

Static Constant.

Constant identifying the millisecond field.

type: java.text.DateFormat$Field
raw docstring

*-minuteclj

Static Constant.

Constant identifying the minute field.

type: java.text.DateFormat$Field

Static Constant.

Constant identifying the minute field.

type: java.text.DateFormat$Field
raw docstring

*-monthclj

Static Constant.

Constant identifying the month field.

type: java.text.DateFormat$Field

Static Constant.

Constant identifying the month field.

type: java.text.DateFormat$Field
raw docstring

*-secondclj

Static Constant.

Constant identifying the second field.

type: java.text.DateFormat$Field

Static Constant.

Constant identifying the second field.

type: java.text.DateFormat$Field
raw docstring

*-time-zoneclj

Static Constant.

Constant identifying the time zone field.

type: java.text.DateFormat$Field

Static Constant.

Constant identifying the time zone field.

type: java.text.DateFormat$Field
raw docstring

*-week-of-monthclj

Static Constant.

Constant identifying the week of month field.

type: java.text.DateFormat$Field

Static Constant.

Constant identifying the week of month field.

type: java.text.DateFormat$Field
raw docstring

*-week-of-yearclj

Static Constant.

Constant identifying the week of year field.

type: java.text.DateFormat$Field

Static Constant.

Constant identifying the week of year field.

type: java.text.DateFormat$Field
raw docstring

*-yearclj

Static Constant.

Constant identifying the year field.

type: java.text.DateFormat$Field

Static Constant.

Constant identifying the year field.

type: java.text.DateFormat$Field
raw docstring

*of-calendar-fieldclj

(*of-calendar-field calendar-field)

Returns the Field constant that corresponds to the Calendar constant calendarField. If there is no direct mapping between the Calendar constant and a Field, null is returned.

calendar-field - Calendar field constant - int

returns: Field instance representing calendarField. - java.text.DateFormat$Field

throws: java.lang.IllegalArgumentException - if calendarField is not the value of a Calendar field constant.

Returns the Field constant that corresponds to
 the Calendar constant calendarField.
 If there is no direct mapping between the Calendar
 constant and a Field, null is returned.

calendar-field - Calendar field constant - `int`

returns: Field instance representing calendarField. - `java.text.DateFormat$Field`

throws: java.lang.IllegalArgumentException - if calendarField is not the value of a Calendar field constant.
raw docstring

get-calendar-fieldclj

(get-calendar-field this)

Returns the Calendar field associated with this attribute. For example, if this represents the hours field of a Calendar, this would return Calendar.HOUR. If there is no corresponding Calendar constant, this will return -1.

returns: Calendar constant for this field - int

Returns the Calendar field associated with this
 attribute. For example, if this represents the hours field of
 a Calendar, this would return
 Calendar.HOUR. If there is no corresponding
 Calendar constant, this will return -1.

returns: Calendar constant for this field - `int`
raw docstring

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

× close