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::
Duration
Chronic::Duration
Struct
Value
Object
Defined in:
chronic/duration.cr
Constructors
.new
(time : ::Time::Span)
Instance Method Summary
#humanize
#time
: Time::Span
#time=
(time : ::Time::Span)
Constructor Detail
def self.
new
(time : ::Time::Span)
#
[
View source
]
Instance Method Detail
def
humanize
#
[
View source
]
def
time
: Time::Span
#
[
View source
]
def
time=
(time : ::Time::Span)
#
[
View source
]