# GooglePlaces Framework Reference

# GMSEvent

    @interface GMSEvent : NSObject

A class representing a open/close event in `https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Classes/GMSPeriod.html`.
- `


  ### [day](https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Classes/GMSEvent#/c:objc(cs)GMSEvent(py)day)


  ` Day of week the associated with the event.

  #### Declaration

  Swift

      var day: https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Enums/GMSDayOfWeek.html { get }

  Objective-C

      @property (nonatomic, readonly) https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Enums/GMSDayOfWeek.html day;

- `


  ### [time](https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Classes/GMSEvent#/c:objc(cs)GMSEvent(py)time)


  ` The representation of time of the event in 24hr clock. 0000

  #### Declaration

  Swift

      var time: https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Classes/GMSTime.html { get }

  Objective-C

      @property (nonatomic, strong, readonly) https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Classes/GMSTime.html *_Nonnull time;

- `


  ### [date](https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Classes/GMSEvent#/c:objc(cs)GMSEvent(py)date)


  ` The date of the event.

  #### Declaration

  Swift

      var date: Date? { get }

  Objective-C

      @property (nonatomic, strong, readonly, nullable) NSDate *date;

- `


  ### [truncated](https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Classes/GMSEvent#/c:objc(cs)GMSEvent(py)truncated)


  ` Boolean value indicating whether or not the opening or close details were truncated due to the
  seven day window, where the window starts at midnight of the day of the request, and ends at
  11:59 pm six days later.

  Returns true if the open or close times for this period extends past this seven day window.

  #### Declaration

  Swift

      var truncated: Bool { get }

  Objective-C

      @property (nonatomic, readonly) BOOL truncated;