    struct TimeOfDay

    extension TimeOfDay : https://developers.home.google.com/reference/swift/GoogleHomeSDK/GoogleHomeSDK.html#/s:13GoogleHomeSDK15AutomationValueP, Copyable, Decodable, Encodable, Equatable, Equatable, Escapable, Hashable, Hashable, Sendable, Sendable, SendableMetatype, SendableMetatype, https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/StructDataRepresentable.html

Represents a time of day. The date and time zone are either not significant or are specified
elsewhere.
- `


  ### [midnight](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/TimeOfDay#/s:13GoogleHomeSDK9TimeOfDayV8midnightACvpZ)


  ` The time of midnight at the start of the day, '00:00'.

  #### Declaration

  Swift

      static let midnight: TimeOfDay

- `


  ### [noon](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/TimeOfDay#/s:13GoogleHomeSDK9TimeOfDayV4noonACvpZ)


  ` The time of noon at the start of the day, '12:00'.

  #### Declaration

  Swift

      static let noon: TimeOfDay

- `


  ### [max](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/TimeOfDay#/s:13GoogleHomeSDK9TimeOfDayV3maxACvpZ)


  ` The maximum supported `TimeOfDay` '23:59:59.999999999'.

  This is the time just before midnight at the end of the day.

  #### Declaration

  Swift

      static let max: TimeOfDay

- `


  ### [hours](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/TimeOfDay#/s:13GoogleHomeSDK9TimeOfDayV5hourss5Int32Vvp)


  ` Undocumented

  #### Declaration

  Swift

      let hours: Int32

- `


  ### [minutes](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/TimeOfDay#/s:13GoogleHomeSDK9TimeOfDayV7minutess5Int32Vvp)


  ` Undocumented

  #### Declaration

  Swift

      let minutes: Int32

- `


  ### [seconds](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/TimeOfDay#/s:13GoogleHomeSDK9TimeOfDayV7secondss5Int32Vvp)


  ` Undocumented

  #### Declaration

  Swift

      let seconds: Int32

- `


  ### [nanos](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/TimeOfDay#/s:13GoogleHomeSDK9TimeOfDayV5nanoss5Int32Vvp)


  ` Undocumented

  #### Declaration

  Swift

      let nanos: Int32

- `


  ### [init(hours:minutes:seconds:nanos:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/TimeOfDay#/s:13GoogleHomeSDK9TimeOfDayV5hours7minutes7seconds5nanosACs5Int32V_A3Itcfc)


  ` Initializes the time of day with the hours, minutes, seconds and nanos.

  #### Declaration

  Swift

      init(hours: Int32, minutes: Int32, seconds: Int32 = 0, nanos: Int32 = 0)

  #### Parameters

  |---|---|
  | ` hours ` | The hours of the time of day. |
  | ` minutes ` | The minutes of the time of day. |
  | ` seconds ` | The seconds of the time of day. |
  | ` nanos ` | The nanos of the time of day. |

- `


  ### [init(decoder:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/TimeOfDay#/s:13GoogleHomeSDK9TimeOfDayV7decoderAcA12TraitDecoderV_tKcfc)


  ` Initializes `TimeOfDay` with the trait decoder.

  #### Declaration

  Swift

      init(decoder: https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/TraitDecoder.html) throws

  #### Parameters

  |---|---|
  | ` decoder ` | The trait decoder to decode the time of day. |

- `


  ### [encode(with:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/TimeOfDay#/s:13GoogleHomeSDK9TimeOfDayV6encode4withyAA12TraitEncoderC_tKF)


  ` Encodes `TimeOfDay` to the trait encoder.

  #### Declaration

  Swift

      func encode(with encoder: https://developers.home.google.com/reference/swift/GoogleHomeSDK/Classes/TraitEncoder.html) throws

- `


  ### [StructFields](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/TimeOfDay/StructFields.html)


  ` Undocumented

  #### Declaration

  Swift

      enum StructFields

      extension https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/TimeOfDay.html.StructFields : Equatable, https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Field.html, Hashable, RawRepresentable, Sendable, SendableMetatype

- `


  ### [structField(id:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/TimeOfDay#/s:13GoogleHomeSDK9TimeOfDayV11structField2idAA0H0_pSgs6UInt32V_tFZ)


  ` Returns the field corresponding to the given field ID.

  #### Declaration

  Swift

      static func structField(id: UInt32) -> (any https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Field.html)?

- `


  ### [init(from:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/TimeOfDay#/s:13GoogleHomeSDK9TimeOfDayV4fromACs7Decoder_p_tKcfc)


  ` Creates a new instance by decoding from the given decoder.

  This initializer throws an error if reading from the decoder fails, or
  if the data read is corrupted or otherwise invalid.

  #### Declaration

  Swift

      init(from decoder: any Decoder) throws