Liking cljdoc? Tell your friends :D

dataimitator.datetime.core


format-dateclj

(format-date date-obj)
(format-date date-obj format-str)

Formats a given date/time object with an optional format string. If no format is provided, uses ISO_LOCAL_DATE_TIME as default. Supported date/time objects: LocalDateTime, ZonedDateTime, Instant, java.util.Date

Formats a given date/time object with an optional format string.
If no format is provided, uses ISO_LOCAL_DATE_TIME as default.
Supported date/time objects: LocalDateTime, ZonedDateTime, Instant, java.util.Date
sourceraw docstring

formatted-prefixclj

(formatted-prefix datetime & [format-str])

Formats a given date/time object with an optional format string. Defaults to ISO format if no format string is provided.

Formats a given date/time object with an optional format string.
Defaults to ISO format if no format string is provided.
sourceraw docstring

formatted-random-local-dateclj

(formatted-random-local-date & [format-str])
source

formatted-random-local-date-timeclj

(formatted-random-local-date-time & [format-str])
source

formatted-random-local-timeclj

(formatted-random-local-time & [format-str])
source

formatted-random-zoned-date-timeclj

(formatted-random-zoned-date-time & [format-str])
source

month-namesclj

source

random-date-betweenclj

(random-date-between start-date end-date)
source

random-date-between-stringsclj

(random-date-between-strings start-date-str end-date-str)
source

random-hourclj

(random-hour)
(random-hour period)

Generates a random time with optional period (AM or PM, default is AM).

Generates a random time with optional period (AM or PM, default is AM).
sourceraw docstring

random-local-dateclj

(random-local-date)
source

random-local-date-timeclj

(random-local-date-time)
source

random-local-timeclj

(random-local-time)
source

random-month-nameclj

(random-month-name)
(random-month-name language)

Generates a random month name in the specified language. Supported languages: :ar, :de, :en, :es, :fr, :tr. Defaults to :en (English) if no language is specified.

Generates a random month name in the specified language.
Supported languages: :ar, :de, :en, :es, :fr, :tr.
Defaults to :en (English) if no language is specified.
sourceraw docstring

random-weekday-nameclj

(random-weekday-name)
(random-weekday-name language)

Generates a random weekday name in the specified language. Supported languages: :ar, :de, :en, :es, :fr, :tr. Defaults to :en (English) if no language is specified.

Generates a random weekday name in the specified language.
Supported languages: :ar, :de, :en, :es, :fr, :tr.
Defaults to :en (English) if no language is specified.
sourceraw docstring

random-yearclj

(random-year)
(random-year start-year end-year)

Generates a random year between start-year and end-year.

Generates a random year between start-year and end-year.
sourceraw docstring

random-zone-idclj

(random-zone-id)
source

random-zoned-date-timeclj

(random-zoned-date-time)
source

weekday-namesclj

source

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

× close