struct

TandaCLI::Models::TimeOfDay

Inherits Struct < Value < Object

Constants

PATTERN = /\A(?<hour>\d{1,2}):?(?<minute>[0-5]\d)?\s*(?<meridiem>[ap]\.?m\.?)?\z/i

Class methods

parse(input : String) : TimeOfDay | Error::Base
Source

Instance methods

hour
Source
minute
Source
on(day : Time) : Time
Source