TimeOfDayResponse

data class TimeOfDayResponse(val hours: Int, val minutes: Int, val nanos: Int, val seconds: Int)

Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and google.protobuf.Timestamp.

Constructors

Link copied to clipboard
fun TimeOfDayResponse(hours: Int, minutes: Int, nanos: Int, seconds: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val hours: Int

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.

Link copied to clipboard

Minutes of hour of day. Must be from 0 to 59.

Link copied to clipboard
val nanos: Int

Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.

Link copied to clipboard

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.