Time of day and shift types for Ruby
11-Mar-2021 2051
Supplies TimeOfDay class that includes parsing, strftime, comparison, and arithmetic.Supplies Shift to represent a period of time, using a beginning and ending TimeOfDay. Allows to calculate its duration and to determine if a TimeOfDay is included inside the shift. For nightly shifts (when beginning time is greater than ending time), it supposes the shift ends the following day.
Time of day and shift types for Ruby #ruby #rubydeveloper #rubyonrails #shift #types #types https://rubyonrails.ba/link/time-of-day-and-shift-types-for-ruby