Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
chronic
master
Top Level Namespace
Chronic
Duration
Parser
Range
Time
Options
Built with Crystal 1.10.0
2023-12-04 15:04:22 UTC
struct
Chronic::
Time
Chronic::Time
Struct
Value
Object
Defined in:
chronic/time.cr
Constructors
.new
(time : ::Time)
Instance Method Summary
#from
(time)
#from_now
#time
: Time
#time=
(time : ::Time)
#to_s
(format)
Constructor Detail
def self.
new
(time : ::Time)
#
[
View source
]
Instance Method Detail
def
from
(time)
#
[
View source
]
def
from_now
#
[
View source
]
def
time
: Time
#
[
View source
]
def
time=
(time : ::Time)
#
[
View source
]
def
to_s
(format)
#
[
View source
]