module ExpireTime
Overview
convert an expire time into seconds since epoch accepts a Time object or a String in the form of "2018-01-01 12:00:00 +2:00"
Extended Modules
Defined in:
hash_file/expire_time.crInstance Method Summary
- #is_expired?(epoch_time : Int64 | Nil = Time.now)
- #to_epoch(raw_expire : Time)
- #to_epoch(raw_expire : String)