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

- `


  ### [init(decoder:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Extensions/Date#/s:10Foundation4DateV13GoogleHomeSDKE7decoderAcD12TraitDecoderV_tKcfc)


  ` Creates a new Date instance using data read from the given `https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/TraitDecoder.html`.
  Throws
  `HomeError.parseError` whefn parsing fails.

  #### Declaration

  Swift

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

  #### Parameters

  |---|---|
  | ` decoder ` | The raw data representing this Struct. |

- `


  ### [encode(with:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Extensions/Date#/s:10Foundation4DateV13GoogleHomeSDKE6encode4withyAD12TraitEncoderC_tKF)


  ` Writes this Date to the given `https://developers.home.google.com/reference/swift/GoogleHomeSDK/Classes/TraitEncoder.html`.
  Throws
  `HomeError.parseError` if the data could not be encoded.

  #### Declaration

  Swift

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

- `


  ### [Tags](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Extensions/Date#/s:10Foundation4DateV13GoogleHomeSDKE4Tags33_994FBC926F33FC5F90EFECA3C9858CEFLLO)


  `

  #### Declaration

  Swift

      extension Date.Tags : BitwiseCopyable, Sendable, SendableMetatype