GooglePlaces Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMSTime
@interface GMSTime : NSObject
A class representing time in hours and minutes in a 24hr clock.
-
The hour representation of time in a day. (Range is between 0-23).
Declaration
Swift
var hour: UInt { get }
Objective-C
@property (nonatomic, readonly) NSUInteger hour;
-
The minute representation of time in a 1 hr period. (Range is between 0-59).
Declaration
Swift
var minute: UInt { get }
Objective-C
@property (nonatomic, readonly) NSUInteger minute;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-27 UTC.
[null,null,["Last updated 2025-08-27 UTC."],[],["GMSTime represents time using a 24-hour clock. It offers two key properties: `hour` and `minute`. The `hour` property, an unsigned integer, ranges from 0 to 23. The `minute` property, also an unsigned integer, ranges from 0 to 59. Both properties are read-only and are accessible in both Swift and Objective-C, providing the hour and minute components of a specific time.\n"],null,[]]