Liking cljdoc? Tell your friends :D

joda-time.partial


local-dateclj

(local-date)
(local-date o__2111__auto__)
(local-date year month)
(local-date year month day)

Constructs a LocalDate out of

  • another partial (which must have all of the needed fields)
  • an instant or a number of milliseconds
  • a java (util/sql) Date/Timestamp or a Calendar
  • an ISO formatted string
  • a map with keys corresponding to the names of date-time field types and an (optional) chronology.
  • a number of ints for the multi-argument varieties of partial constructors.

When called with no arguments produces a value of LocalDate/now.

Constructs a LocalDate out of 

* another partial (which must have all of the needed fields)
* an instant or a number of milliseconds
* a java (util/sql) Date/Timestamp or a Calendar
* an ISO formatted string
* a map with keys corresponding to the names of date-time field types
  and an (optional) chronology.
* a number of ints for the multi-argument varieties of partial constructors.

When called with no arguments produces a value of `LocalDate/now`.
raw docstring

local-date-timeclj

(local-date-time)
(local-date-time o__2111__auto__)
(local-date-time year month)
(local-date-time year month day)
(local-date-time year month day hour)
(local-date-time year month day hour minute)
(local-date-time year month day hour minute second)
(local-date-time year month day hour minute second millis)

Constructs a LocalDateTime out of

  • another partial (which must have all of the needed fields)
  • an instant or a number of milliseconds
  • a java (util/sql) Date/Timestamp or a Calendar
  • an ISO formatted string
  • a map with keys corresponding to the names of date-time field types and an (optional) chronology.
  • a number of ints for the multi-argument varieties of partial constructors.

When called with no arguments produces a value of LocalDateTime/now.

Constructs a LocalDateTime out of 

* another partial (which must have all of the needed fields)
* an instant or a number of milliseconds
* a java (util/sql) Date/Timestamp or a Calendar
* an ISO formatted string
* a map with keys corresponding to the names of date-time field types
  and an (optional) chronology.
* a number of ints for the multi-argument varieties of partial constructors.

When called with no arguments produces a value of `LocalDateTime/now`.
raw docstring

local-timeclj

(local-time)
(local-time o__2111__auto__)
(local-time hour minute)
(local-time hour minute second)
(local-time hour minute second millis)

Constructs a LocalTime out of

  • another partial (which must have all of the needed fields)
  • an instant or a number of milliseconds
  • a java (util/sql) Date/Timestamp or a Calendar
  • an ISO formatted string
  • a map with keys corresponding to the names of date-time field types and an (optional) chronology.
  • a number of ints for the multi-argument varieties of partial constructors.

When called with no arguments produces a value of LocalTime/now.

Constructs a LocalTime out of 

* another partial (which must have all of the needed fields)
* an instant or a number of milliseconds
* a java (util/sql) Date/Timestamp or a Calendar
* an ISO formatted string
* a map with keys corresponding to the names of date-time field types
  and an (optional) chronology.
* a number of ints for the multi-argument varieties of partial constructors.

When called with no arguments produces a value of `LocalTime/now`.
raw docstring

month-dayclj

(month-day)
(month-day o__2111__auto__)
(month-day month day)

Constructs a MonthDay out of

  • another partial (which must have all of the needed fields)
  • an instant or a number of milliseconds
  • a java (util/sql) Date/Timestamp or a Calendar
  • an ISO formatted string
  • a map with keys corresponding to the names of date-time field types and an (optional) chronology.
  • a number of ints for the multi-argument varieties of partial constructors.

When called with no arguments produces a value of MonthDay/now.

Constructs a MonthDay out of 

* another partial (which must have all of the needed fields)
* an instant or a number of milliseconds
* a java (util/sql) Date/Timestamp or a Calendar
* an ISO formatted string
* a map with keys corresponding to the names of date-time field types
  and an (optional) chronology.
* a number of ints for the multi-argument varieties of partial constructors.

When called with no arguments produces a value of `MonthDay/now`.
raw docstring

partialclj

(partial)
(partial o)

Constructs a Partial out of another partial or a map with keys corresponding to the names of date-time field types and an (optional) chronology.

(partial {}) ; => #<Partial []>

(partial {:year 5}) ; => #<Partial 0005>

(partial {:year 5, :chronology (ISOChronology/getInstanceUTC)}) ; => #<Partial 0005>

(partial {:era 1, :centuryOfEra 2, :yearOfEra 3, :dayOfYear 5}) ; => #<Partial [era=1, centuryOfEra=2, yearOfEra=3, dayOfYear=5]>

Constructs a Partial out of another partial or a map with keys corresponding
to the names of date-time field types and an (optional) chronology.

  (partial {})
  ; => #<Partial []>

  (partial {:year 5})
  ; => #<Partial 0005>

  (partial {:year 5, :chronology (ISOChronology/getInstanceUTC)})
  ; => #<Partial 0005>

  (partial {:era 1, :centuryOfEra 2, :yearOfEra 3, :dayOfYear 5})
  ; => #<Partial [era=1, centuryOfEra=2, yearOfEra=3, dayOfYear=5]>
raw docstring

year-monthclj

(year-month)
(year-month o__2111__auto__)
(year-month year month)

Constructs a YearMonth out of

  • another partial (which must have all of the needed fields)
  • an instant or a number of milliseconds
  • a java (util/sql) Date/Timestamp or a Calendar
  • an ISO formatted string
  • a map with keys corresponding to the names of date-time field types and an (optional) chronology.
  • a number of ints for the multi-argument varieties of partial constructors.

When called with no arguments produces a value of YearMonth/now.

Constructs a YearMonth out of 

* another partial (which must have all of the needed fields)
* an instant or a number of milliseconds
* a java (util/sql) Date/Timestamp or a Calendar
* an ISO formatted string
* a map with keys corresponding to the names of date-time field types
  and an (optional) chronology.
* a number of ints for the multi-argument varieties of partial constructors.

When called with no arguments produces a value of `YearMonth/now`.
raw docstring

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

× close