class

Chronicle::Engine::TemporalScope

Inherits Reference < Object

Resolves human-friendly temporal arguments into explicit UTC time boundaries.

Constructors

custom_range(from_str : String, to_str : String) : self
Source
last_week(now : Time = Time.local) : self
Source
new(from_time : Time, to_time : Time, label : String)
Source
past_year(now : Time = Time.local) : self
Source
this_week(now : Time = Time.local) : self
Source
today(now : Time = Time.local) : self
Source
yesterday(now : Time = Time.local) : self
Source

Instance methods

from_time
Source
label
Source
to_time
Source