Liking cljdoc? Tell your friends :D

java-time.properties


*fields*

source

*units*

source

chrono-fields

source

chrono-units

source

field

(field k)
(field entity k)

Returns a TemporalField for the given key k or extracts the field from the given temporal entity.

You can see predefined fields via java-time.repl/show-fields.

If you want to make your own custom TemporalFields resolvable, you need to rebind the java-time.properties/*fields* to a custom java-time.properties.FieldGroup.

Returns a `TemporalField` for the given key `k` or extracts the field from
the given temporal `entity`.

You can see predefined fields via `java-time.repl/show-fields`.

If you want to make your own custom TemporalFields resolvable, you need to rebind the
`java-time.properties/*fields*` to a custom `java-time.properties.FieldGroup`.
sourceraw docstring

field-groups

source

field-key

(field-key o)
source

field?

(field? o)

True if this is a TemporalField.

True if this is a `TemporalField`.
sourceraw docstring

get-field

(get-field o)
source

get-unit

(get-unit o)
source

get-unit-checked

(get-unit-checked o)
source

iso-fields

source

iso-units

source

julian-fields

source

predefined-fields

source

predefined-units

source

unit

(unit k)
(unit entity k)

Returns a TemporalUnit for the given key k or extracts the field from the given temporal entity.

You can see predefined units via java-time.repl/show-units.

If you want to make your own custom TemporalUnits resolvable, you need to rebind the java-time.properties/*units* to a custom java-time.properties.UnitGroup.

Returns a `TemporalUnit` for the given key `k` or extracts the field from
the given temporal `entity`.

You can see predefined units via `java-time.repl/show-units`.

If you want to make your own custom TemporalUnits resolvable, you need to rebind the
`java-time.properties/*units*` to a custom `java-time.properties.UnitGroup`.
sourceraw docstring

unit-groups

source

unit-key

(unit-key o)
source

unit?

(unit? o)

True if this is a TemporalUnit.

True if this is a `TemporalUnit`.
sourceraw docstring

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

× close