Liking cljdoc? Tell your friends :D

yunjia.util.time


begin-day-of-month-in-millisclj

(begin-day-of-month-in-millis)

获取本月开始时间戳in millis

获取本月开始时间戳in millis
raw docstring

begin-day-of-week-in-millisclj

(begin-day-of-week-in-millis)

获取本周开始时间戳in millis

获取本周开始时间戳in millis
raw docstring

calc-yearsclj

(calc-years epoch-second)

计算某个时间戳到当前时间的年数,不足整年部分也算一年。

计算某个时间戳到当前时间的年数,不足整年部分也算一年。
raw docstring

end-day-of-month-in-millisclj

(end-day-of-month-in-millis)

获取本月结束时间戳in millis

获取本月结束时间戳in millis
raw docstring

end-day-of-week-in-millisclj

(end-day-of-week-in-millis)

获取本周结束时间戳in millis

获取本周结束时间戳in millis
raw docstring

formatter-yyyyMMddHHmmclj


formatter-yyyyMMddHHmmssclj


now-yyyyMMddHHmmclj

(now-yyyyMMddHHmm)

now-yyyyMMddHHmmssclj

(now-yyyyMMddHHmmss)

timestamp->datatimeclj

(timestamp->datatime timestamp)

时间戳解析成包括各单位的map

时间戳解析成包括各单位的map
raw docstring

timestamp->formatclj

(timestamp->format timestamp format-string)

格式化时间戳。

格式化时间戳。
raw docstring

to-timestampclj

(to-timestamp year month day & [hour minute second])

yyyyMMdd->begin&end-monthclj

(yyyyMMdd->begin&end-month & [month-inside-day])

获取指定日期/当日的上月、本月、下月的开始时间戳 month-inside-day格式:yyyyMMdd 例如:20170921 create by yan 2017/09/21 11:15

获取指定日期/当日的上月、本月、下月的开始时间戳
month-inside-day格式:yyyyMMdd
例如:20170921
create by yan 2017/09/21 11:15
raw docstring

yyyyMMdd->timestampclj

(yyyyMMdd->timestamp day-string)
(yyyyMMdd->timestamp day-string hour-string)
(yyyyMMdd->timestamp day-string hour-string minute-string)
(yyyyMMdd->timestamp day-string hour-string minute-string second-string)

默认日期格式为'yyyyMMdd'转换成时间戳 [^String date-string ^String format]可选日期格式转换成时间戳

默认日期格式为'yyyyMMdd'转换成时间戳
[^String date-string    ^String format]可选日期格式转换成时间戳
raw docstring

zone-shanghaiclj

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

× close