GooglePlaces Framework Reference
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 2024-11-08 UTC.
[null,null,["Last updated 2024-11-08 UTC."],[[["`GMSTime` is an Objective-C class that represents time using a 24-hour clock, storing hours and minutes."],["It provides read-only access to the `hour` and `minute` components of the time, with `hour` ranging from 0-23 and `minute` ranging from 0-59."]]],["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"]]