Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.27 KB

TimePoint.md

File metadata and controls

27 lines (20 loc) · 1.27 KB

TalonOne::TimePoint

Properties

Name Type Description Notes
month Integer The achievement ends and resets in this month. Note: Only applicable if the period is set to `Y`. [optional]
day_of_month Integer The achievement ends and resets on this day of the month. Note: Only applicable if the period is set to `Y` or `M`. [optional]
day_of_week Integer The achievement ends and resets on this day of the week. `1` represents `Monday` and `7` represents `Sunday`. Note: Only applicable if the period is set to `W`. [optional]
hour Integer The achievement ends and resets at this hour.
minute Integer The achievement ends and resets at this minute.
second Integer The achievement ends and resets at this second.

Code Sample

require 'TalonOne'

instance = TalonOne::TimePoint.new(month: 11,
                                 day_of_month: 23,
                                 day_of_week: null,
                                 hour: 23,
                                 minute: 59,
                                 second: 59)