GooglePlaces Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
-
Declaration
Objective-C
GMSDayOfWeekSunday = 1
-
Declaration
Objective-C
GMSDayOfWeekMonday = 2
-
Declaration
Objective-C
GMSDayOfWeekTuesday = 3
-
Declaration
Objective-C
GMSDayOfWeekWednesday = 4
-
Declaration
Objective-C
GMSDayOfWeekThursday = 5
-
Declaration
Objective-C
GMSDayOfWeekFriday = 6
-
Declaration
Objective-C
GMSDayOfWeekSaturday = 7
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."],[[["\u003cp\u003e\u003ccode\u003eGMSDayOfWeek\u003c/code\u003e is an enumeration representing the days of the week.\u003c/p\u003e\n"],["\u003cp\u003eIt aligns with \u003ccode\u003eNSDateComponents.weekday\u003c/code\u003e index, starting with Sunday as 1 and ending with Saturday as 7.\u003c/p\u003e\n"],["\u003cp\u003eThe enum provides constants for each day of the week, accessible in both Swift and Objective-C.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use this enum to work with days of the week within the Google Maps SDK for iOS.\u003c/p\u003e\n"]]],["`GMSDayOfWeek` is an enumeration representing days of the week, aligning with `NSDateComponents.weekday`. It defines seven cases: `sunday` (1), `monday` (2), `tuesday` (3), `wednesday` (4), `thursday` (5), `friday` (6), and `saturday` (7). Each case has both Swift and Objective-C declarations, mapping the day to a numerical value. These values correspond directly to the index used by `NSDateComponents.weekday`.\n"],null,["# GooglePlaces Framework Reference\n\nGMSDayOfWeek\n============\n\n enum GMSDayOfWeek : NSUInteger {}\n\nThe fields represent individual days of the week. Matches NSDateComponents.weekday index.\nRefer to \u003chttps://developer.apple.com/documentation/foundation/nsdatecomponents/1410442-weekday\u003e\n- `\n ``\n ``\n `\n\n ### [GMSDayOfWeekSunday](#/c:@E@GMSDayOfWeek@GMSDayOfWeekSunday)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n case sunday = 1\n\n Objective-C \n\n GMSDayOfWeekSunday = 1\n\n- `\n ``\n ``\n `\n\n ### [GMSDayOfWeekMonday](#/c:@E@GMSDayOfWeek@GMSDayOfWeekMonday)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n case monday = 2\n\n Objective-C \n\n GMSDayOfWeekMonday = 2\n\n- `\n ``\n ``\n `\n\n ### [GMSDayOfWeekTuesday](#/c:@E@GMSDayOfWeek@GMSDayOfWeekTuesday)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n case tuesday = 3\n\n Objective-C \n\n GMSDayOfWeekTuesday = 3\n\n- `\n ``\n ``\n `\n\n ### [GMSDayOfWeekWednesday](#/c:@E@GMSDayOfWeek@GMSDayOfWeekWednesday)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n case wednesday = 4\n\n Objective-C \n\n GMSDayOfWeekWednesday = 4\n\n- `\n ``\n ``\n `\n\n ### [GMSDayOfWeekThursday](#/c:@E@GMSDayOfWeek@GMSDayOfWeekThursday)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n case thursday = 5\n\n Objective-C \n\n GMSDayOfWeekThursday = 5\n\n- `\n ``\n ``\n `\n\n ### [GMSDayOfWeekFriday](#/c:@E@GMSDayOfWeek@GMSDayOfWeekFriday)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n case friday = 6\n\n Objective-C \n\n GMSDayOfWeekFriday = 6\n\n- `\n ``\n ``\n `\n\n ### [GMSDayOfWeekSaturday](#/c:@E@GMSDayOfWeek@GMSDayOfWeekSaturday)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n case saturday = 7\n\n Objective-C \n\n GMSDayOfWeekSaturday = 7"]]