Liking cljdoc? Tell your friends :D

sqlosure.time


coerce-time-valuesclj

(coerce-time-values vs)

Takes the list of arguments and returns the list with all time values coerced to their sql counterparts.

Takes the list of arguments and returns the list with all time values coerced
to their sql counterparts.
sourceraw docstring

from-sql-dateclj

(from-sql-date date)

Takes a date object of type java.sql.Date and returns a java.time.LocalDate.

Takes a date object of type java.sql.Date and returns a java.time.LocalDate.
sourceraw docstring

from-sql-time-stringclj

(from-sql-time-string ts)

Takes the string representation of a date (yyyy-MM-dd) and returns a java.time.LocalDate object.

Takes the string representation of a date (yyyy-MM-dd) and returns a
`java.time.LocalDate` object.
sourceraw docstring

from-sql-timestampclj

(from-sql-timestamp sql-timestamp)

Takes a date object of type java.sql.Timestamp and returns a java.time.LocalDateTime.

Takes a date object of type java.sql.Timestamp and returns a java.time.LocalDateTime.
sourceraw docstring

from-sql-timestamp-stringclj

(from-sql-timestamp-string tss)

Takes the string representation of a date (yyyy-MM-dd'T'HH:mm:ss.SSS) and returns a java.time.LocalDateTime object.

Takes the string representation of a date (yyyy-MM-dd'T'HH:mm:ss.SSS) and
returns a `java.time.LocalDateTime` object.
sourceraw docstring

make-dateclj

(make-date)
(make-date year month day)

Wrapper around some common 'constructor' calls of LocalDate.

Wrapper around some common 'constructor' calls of LocalDate.
sourceraw docstring

make-timestampclj

(make-timestamp)
(make-timestamp year month day hour minute)
(make-timestamp year month day hour minute second)
(make-timestamp year month day hour minute second nano-of-second)

Wrapper around some common 'constructor' calls of LocalDateTime.

Wrapper around some common 'constructor' calls of LocalDateTime.
sourceraw docstring

to-sql-dateclj

(to-sql-date date)

Takes a date object produced by java.time.LocalDate and returns a java.sql.Date.

Takes a date object produced by java.time.LocalDate and returns a
java.sql.Date.
sourceraw docstring

to-sql-time-stringclj

(to-sql-time-string d)

Takes a java.time.LocalDate(Time) and returns it's string representation.

Takes a java.time.LocalDate(Time) and returns it's string representation.
sourceraw docstring

to-sql-timestampclj

(to-sql-timestamp t)

Takes a date object produced by java.time.LocalDateTime and returns a java.sql.Timestamp.

Takes a date object produced by java.time.LocalDateTime and returns a
java.sql.Timestamp.
sourceraw docstring

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

× close