Class: Google::Type::TimeOfDay
- Inherits:
-
Object
- Object
- Google::Type::TimeOfDay
- Defined in:
- lib/google/cloud/dlp/v2/doc/google/type/timeofday.rb
Overview
Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may chose to allow leap seconds. Related types are Date and +google.protobuf.Timestamp+.
Instance Attribute Summary collapse
-
#hours ⇒ Integer
Hours of day in 24 hour format.
-
#minutes ⇒ Integer
Minutes of hour of day.
-
#nanos ⇒ Integer
Fractions of seconds in nanoseconds.
-
#seconds ⇒ Integer
Seconds of minutes of the time.
Instance Attribute Details
#hours ⇒ Integer
Returns Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
34 |
# File 'lib/google/cloud/dlp/v2/doc/google/type/timeofday.rb', line 34 class TimeOfDay; end |
#minutes ⇒ Integer
Returns Minutes of hour of day. Must be from 0 to 59.
34 |
# File 'lib/google/cloud/dlp/v2/doc/google/type/timeofday.rb', line 34 class TimeOfDay; end |
#nanos ⇒ Integer
Returns Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
34 |
# File 'lib/google/cloud/dlp/v2/doc/google/type/timeofday.rb', line 34 class TimeOfDay; end |
#seconds ⇒ Integer
Returns Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
34 |
# File 'lib/google/cloud/dlp/v2/doc/google/type/timeofday.rb', line 34 class TimeOfDay; end |