Time
- Kind
- struct
- Module
Time
Source: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
The entries of Time in the Crystal reference. This page has 100 cards.
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
+(span : Time::Span) : Time
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
-(other : Time) : Time::Span
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
<=>(other : Time) : Int32
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
==(other : Time) : Bool
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
at_beginning_of_day
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
at_beginning_of_hour
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
at_beginning_of_minute
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
at_beginning_of_month
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
at_beginning_of_quarter
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
at_beginning_of_second
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
at_beginning_of_semester
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
at_beginning_of_week(start_day : Time::DayOfWeek = :monday) : Time
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
at_beginning_of_year
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
at_end_of_day
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
at_end_of_hour
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
at_end_of_minute
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
at_end_of_month
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
at_end_of_quarter
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
at_end_of_second
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
at_end_of_semester
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
at_end_of_week
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
at_end_of_year
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
at_midday
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
calendar_week
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
clone
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
date
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
day
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
day_of_week
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
day_of_year
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
friday?
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
hash(hasher)
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
hour
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
in(location : Location) : Time
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
inspect(io : IO, with_nanoseconds) : Nil
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
local?
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
location
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
millisecond
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
minute
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
monday?
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
month
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
nanosecond
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
offset
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
saturday?
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
second
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
shift(seconds : Int, nanoseconds : Int) : Time
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
sunday?
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
thursday?
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
time_of_day
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
to_json(json : JSON::Builder) : Nil
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
to_local
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
to_local_in(location : Location) : Time
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
to_rfc2822(io : IO)
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
to_rfc3339(io : IO, *, fraction_digits : Int = 0) : Nil
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
to_s(io : IO, format : String) : Nil
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
to_unix
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
to_unix_f
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
to_unix_ms
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
to_unix_ns
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
to_utc
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
to_yaml(yaml : YAML::Nodes::Builder) : Nil
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
tuesday?
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
utc?
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
wednesday?
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
year
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
zone
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
days_in_month(year : Int, month : Int) : Int32
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
days_in_year(year : Int) : Int32
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
instant
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
leap_year?(year : Int) : Bool
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
local(year : Int32, month : Int32, day : Int32, hour : Int32 = 0, minute : Int32 = 0, second : Int32 = 0, *, nanosecond : Int32 = 0, location : Location = Location.local) : Time
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
measure
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
monotonic
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
month_week_date(year : Int32, month : Int32, week : Int32, day_of_week : Int32 | DayOfWeek, hour : Int32 = 0, minute : Int32 = 0, second : Int32 = 0, *, nanosecond : Int32 = 0, location : Location = Location.local) : self
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
parse(time : String, pattern : String, location : Location) : Time
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
parse!(time : String, pattern : String) : Time
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
parse_iso8601(time : String)
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
parse_local(time : String, pattern : String) : Time
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
parse_rfc2822(time : String) : self
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
parse_rfc3339(time : String) : self
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
parse_utc(time : String, pattern : String) : Time
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
unix(seconds : Int) : Time
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
unix_ms(milliseconds : Int) : Time
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
unix_ns(nanoseconds : Int) : Time
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
utc(year : Int32, month : Int32, day : Int32, hour : Int32 = 0, minute : Int32 = 0, second : Int32 = 0, *, nanosecond : Int32 = 0) : Time
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
week_date(year : Int32, week : Int32, day_of_week : Int32 | DayOfWeek, hour : Int32 = 0, minute : Int32 = 0, second : Int32 = 0, *, nanosecond : Int32 = 0, location : Location = Location.local) : self
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
TimeSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.