Module: L43::Time

Extended by:
Delta
Includes:
FormatTime, TimeRange, ToTime
Defined in:
lib/l43/time.rb,
lib/l43/time/ts.rb,
lib/l43/time/delta.rb,
lib/l43/time/range.rb,
lib/l43/time/consts.rb,
lib/l43/time/errors.rb,
lib/l43/time/parser.rb,
lib/l43/time/to_time.rb,
lib/l43/time/version.rb,
lib/l43/time/time_range.rb,
lib/l43/time/format_time.rb,
lib/l43/time/tools/map_ok.rb,
lib/l43/time/tools/scanner.rb,
lib/l43/time/tools/format_ts.rb

Defined Under Namespace

Modules: Delta, Duration, FormatTime, Parser, TimeRange, ToTime, Tools, Ts Classes: Range

Constant Summary collapse

SPERM =
60
SPERH =
60*SPERM
SPERD =
24*SPERH
BadFormat =
Class.new RuntimeError
VERSION =
'0.1.7'

Constants included from Parser

Parser::Prefix, Parser::Suffix

Constants included from Ts

Ts::DecimalPart, Ts::Seperators

Constants included from ToTime

ToTime::T

Constants included from FormatTime

FormatTime::LegalFormats

Method Summary

Methods included from Delta

after, after!, before, before!

Methods included from Parser

#format_ts, #format_ts!, #parse_duration, #parse_duration!, #parse_or_duration, #parse_or_duration!

Methods included from Ts

#duration_as_string, #duration_as_string!

Methods included from TimeRange

#str_to_range, #time_range

Methods included from ToTime

#help_str_to_time, #str_to_time

Methods included from Tools::MapOk

#map_ok

Methods included from FormatTime

#format_time, #format_time!