Liking cljdoc? Tell your friends :D

burningswell.time


*date-formatter*


*time-formatter*


current-duration

(current-duration start)

Return the current duration from start to now.

Return the current duration from `start` to now.
raw docstring

current-duration-str

(current-duration-str start)

Return the formatted current duration from start to now.

Return the formatted current duration from `start` to now.
raw docstring

date-hour-path

(date-hour-path date-time)

Returns the date and hour as a path fragment.

Returns the date and hour as a path fragment.
raw docstring

date-time?

(date-time? arg)

Returns true if arg is a DateTime object, otherwise false.

Returns true if arg is a DateTime object, otherwise false.
raw docstring

format-date

(format-date object & [formatter])

Format the object with the default or the given date formatter.

Format the object with the default or the given date formatter.
raw docstring

format-day-of-week

(format-day-of-week time & {:keys [short]})

Format the day of week.

Format the day of week.
raw docstring

format-interval

(format-interval interval)

Format the interval using the default period formatter.

Format the interval using the default period formatter.
raw docstring

format-time

(format-time object & [formatter])

Format the object with the default or the given time formatter.

Format the object with the default or the given time formatter.
raw docstring

read-instant-date-time

To read an instant as an DateTime, bind data-readers to a map with this var as the value for the 'inst key.

To read an instant as an DateTime, bind *data-readers* to a map
with this var as the value for the 'inst key.
raw docstring

sql-timestamp

(sql-timestamp object)

Convert the object to a java.sql.Timestamp.

Convert the object to a java.sql.Timestamp.
raw docstring

sql-timestamp-now

(sql-timestamp-now)

Returns the current time as java.sql.Timestamp.

Returns the current time as java.sql.Timestamp.
raw docstring

sql-timestamp?

(sql-timestamp? arg)

Returns true if arg is a java.sql.Timestamp, otherwise false.

Returns true if arg is a java.sql.Timestamp, otherwise false.
raw docstring

TimeProtocolprotocol

to-ms
(to-ms this)

Returns the time in milliseconds.

Returns the time in milliseconds.


to-calendar

(to-calendar object)

Convert the object to a java.util.Calendar.

Convert the object to a java.util.Calendar.
raw docstring

to-date

(to-date object)

Convert the object to a java.sql.Date.

Convert the object to a java.sql.Date.
raw docstring

to-date-time

(to-date-time object)

Convert the object to a org.joda.time.DateTime.

Convert the object to a org.joda.time.DateTime.
raw docstring

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

× close