(Date->Instant date)
Inputs: [date :- Date] Returns: Instant
Convert a java.util.Date to an Instant
Inputs: [date :- Date] Returns: Instant Convert a java.util.Date to an Instant
(Date->str date)
Inputs: [date :- Date] Returns: s/Str
Convert a java.util.Date to a string like '1999-12-31T01:02:03.456Z'
Inputs: [date :- Date] Returns: s/Str Convert a java.util.Date to a string like '1999-12-31T01:02:03.456Z'
(Instant->Date inst)
Inputs: [inst :- Instant] Returns: Date
Convert an Instant to a java.util.Date
Inputs: [inst :- Instant] Returns: Date Convert an Instant to a java.util.Date
(Instant->joda inst)
Inputs: [inst :- Instant] Returns: org.joda.time.ReadableInstant
Converts a java.time.Instant to a joda DateTime
Inputs: [inst :- Instant] Returns: org.joda.time.ReadableInstant Converts a java.time.Instant to a joda DateTime
(Instant->LocalDate inst)
Inputs: [inst :- Instant] Returns: LocalDate
Converts an Instant to a LocalDate using the UTC timezone.
Inputs: [inst :- Instant] Returns: LocalDate Converts an Instant to a LocalDate using the UTC timezone.
(Instant->LocalDateTime inst)
Inputs: [inst :- Instant] Returns: LocalDateTime
Converts an Instant to a LocalDateTime in the UTC timezone.
Inputs: [inst :- Instant] Returns: LocalDateTime Converts an Instant to a LocalDateTime in the UTC timezone.
(Instant->sql-Timestamp inst)
Inputs: [inst :- Instant] Returns: java.sql.Timestamp
Converts a java.time.Instant to a java.sql.Timestamp
Inputs: [inst :- Instant] Returns: java.sql.Timestamp Converts a java.time.Instant to a java.sql.Timestamp
(Instant->Year inst)
Inputs: [inst :- Instant] Returns: Year
Convert an Instant to a Year object in the UTC timezone
Inputs: [inst :- Instant] Returns: Year Convert an Instant to a Year object in the UTC timezone
(Instant->YearMonth inst)
Inputs: [inst :- Instant] Returns: YearMonth
Convert an Instant to a YearMonth in the UTC timezone
Inputs: [inst :- Instant] Returns: YearMonth Convert an Instant to a YearMonth in the UTC timezone
(Instant->ZonedDateTime inst)
Inputs: [inst :- Instant] Returns: ZonedDateTime
Converts an Instant into a ZonedDateTime in the UTC timezone
Inputs: [inst :- Instant] Returns: ZonedDateTime Converts an Instant into a ZonedDateTime in the UTC timezone
(joda->Instant joda-inst)
Inputs: [joda-inst :- org.joda.time.ReadableInstant] Returns: Instant
Converts a joda DateTime or similar to a java.time.Instant
Inputs: [joda-inst :- org.joda.time.ReadableInstant] Returns: Instant Converts a joda DateTime or similar to a java.time.Instant
(LocalDate->Date ld)
Inputs: [ld :- LocalDate] Returns: Date
Converts a LocalDate to a java.util.Date at start-of-day in the UTC timezone.
Inputs: [ld :- LocalDate] Returns: Date Converts a LocalDate to a java.util.Date at start-of-day in the UTC timezone.
(LocalDate->Instant ld)
Inputs: [ld :- LocalDate] Returns: Instant
Converts a LocalDate to an Instant at start-of-day in the UTC timezone.
Inputs: [ld :- LocalDate] Returns: Instant Converts a LocalDate to an Instant at start-of-day in the UTC timezone.
(LocalDate->LocalDateTime ld)
Inputs: [ld :- LocalDate] Returns: LocalDateTime
Converts LocalDate -> LocalDateTime at start-of-day
Inputs: [ld :- LocalDate] Returns: LocalDateTime Converts LocalDate -> LocalDateTime at start-of-day
(LocalDateTime->Instant ldt)
Inputs: [ldt :- LocalDateTime] Returns: Instant
Converts a LocalDateTime to an Instant in the UTC timezone.
Inputs: [ldt :- LocalDateTime] Returns: Instant Converts a LocalDateTime to an Instant in the UTC timezone.
(LocalDateTime->ZonedDateTime ldt)
Inputs: [ldt :- LocalDateTime] Returns: ZonedDateTime
Converts LocalDateTime -> ZonedDateTime in UTC time zone
Inputs: [ldt :- LocalDateTime] Returns: ZonedDateTime Converts LocalDateTime -> ZonedDateTime in UTC time zone
(sql-Date->str date)
Inputs: [date :- java.sql.Date] Returns: s/Str
Converts a java.sql.Date into a String like '1999-12-30'
Inputs: [date :- java.sql.Date] Returns: s/Str Converts a java.sql.Date into a String like '1999-12-30'
(sql-Timestamp->Instant sql-Timestamp)
Inputs: [sql-Timestamp :- java.sql.Timestamp] Returns: Instant
Converts a java.sql.Timestamp to a java.time.Instant
Inputs: [sql-Timestamp :- java.sql.Timestamp] Returns: Instant Converts a java.sql.Timestamp to a java.time.Instant
(sql-Timestamp->str ts)
Inputs: [ts :- Timestamp] Returns: s/Str
Converts a java.sql.Timestamp into a string like '1999-12-30 17:02:03.456'
Inputs: [ts :- Timestamp] Returns: s/Str Converts a java.sql.Timestamp into a string like '1999-12-30 17:02:03.456'
(str->Date s)
Inputs: [s :- s/Str] Returns: Date
Parses a string like '1999-12-31T01:02:03.456Z' a Date
Inputs: [s :- s/Str] Returns: Date Parses a string like '1999-12-31T01:02:03.456Z' a Date
(str->sql-Date s)
Inputs: [s :- s/Str] Returns: Date
Parses a String like '1999-12-30' into a java.sql.Date
Inputs: [s :- s/Str] Returns: Date Parses a String like '1999-12-30' into a java.sql.Date
(str->sql-Timestamp s)
Inputs: [s :- s/Str] Returns: Timestamp
Parses a string like '1999-12-30 17:02:03.456' into a java.sql.Timestamp
Inputs: [s :- s/Str] Returns: Timestamp Parses a string like '1999-12-30 17:02:03.456' into a java.sql.Timestamp
(Year->Instant year)
Inputs: [year :- Year] Returns: Instant
Given a Year object, returns the first Instant using the UTC timezone
Inputs: [year :- Year] Returns: Instant Given a Year object, returns the first Instant using the UTC timezone
(YearMonth->Instant ym)
Inputs: [ym :- YearMonth] Returns: Instant
Given a YearMonth, returns the first Instant in the UTC timezone
Inputs: [ym :- YearMonth] Returns: Instant Given a YearMonth, returns the first Instant in the UTC timezone
(ZonedDateTime->Instant zdt)
Inputs: [zdt :- ZonedDateTime] Returns: Instant
Converts a ZonedDateTime to an Instant
Inputs: [zdt :- ZonedDateTime] Returns: Instant Converts a ZonedDateTime to an Instant
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close