    struct MonthDay

    extension MonthDay : 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 month and day.

This struct doesn't include any time zone related information.
- `


  ### [month](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/MonthDay#/s:13GoogleHomeSDK8MonthDayV5monthAA9LocalDateV0D0Ovp)


  ` The month component.

  #### Declaration

  Swift

      let month: https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/LocalDate.html.Month

- `


  ### [day](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/MonthDay#/s:13GoogleHomeSDK8MonthDayV3days5Int32Vvp)


  ` The day component.

  #### Declaration

  Swift

      let day: Int32

- `


  ### [init(month:day:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/MonthDay#/s:13GoogleHomeSDK8MonthDayV5month3dayAcA9LocalDateV0D0O_s5Int32Vtcfc)


  ` Initializes the `MonthDay` with the month and day.

  #### Declaration

  Swift

      init(month: https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/LocalDate.html.Month, day: Int32)

- `


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


  ` Initializes `MonthDay` with the trait decoder.

  #### Declaration

  Swift

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

- `


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


  ` Encodes `MonthDay` to the trait encoder.

  #### Declaration

  Swift

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

- `


  ### [init(dateComponents:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/MonthDay#/s:13GoogleHomeSDK8MonthDayV14dateComponentsAC10Foundation04DateG0V_tKcfc)


  ` Initializes a `MonthDay` by converting the given `https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/MonthDay.html#/s:13GoogleHomeSDK8MonthDayV14dateComponents10Foundation04DateG0Vvp`.
  Throws
  when `https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/MonthDay.html#/s:13GoogleHomeSDK8MonthDayV14dateComponents10Foundation04DateG0Vvp` have at least a `nil` `https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/MonthDay.html#/s:13GoogleHomeSDK8MonthDayV5monthAA9LocalDateV0D0Ovp`, `https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/MonthDay.html#/s:13GoogleHomeSDK8MonthDayV3days5Int32Vvp`, or if they are not valid in the Gregorian calendar.

  #### Declaration

  Swift

      init(dateComponents: DateComponents) throws

  #### Parameters

  |---|---|
  | ` dateComponents ` | The date components with the `https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/MonthDay.html#/s:13GoogleHomeSDK8MonthDayV5monthAA9LocalDateV0D0Ovp`, `https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/MonthDay.html#/s:13GoogleHomeSDK8MonthDayV3days5Int32Vvp` to use. |

- `


  ### [dateComponents](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/MonthDay#/s:13GoogleHomeSDK8MonthDayV14dateComponents10Foundation04DateG0Vvp)


  ` The `DateComponents` representation of this month and day.

  #### Declaration

  Swift

      var dateComponents: DateComponents { get }

- `


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


  ` Undocumented

  #### Declaration

  Swift

      enum StructFields

      extension https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/MonthDay.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/MonthDay#/s:13GoogleHomeSDK8MonthDayV11structField2idAA0G0_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/MonthDay#/s:13GoogleHomeSDK8MonthDayV4fromACs7Decoder_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