Package com.restfb.types
Class Hours
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.Hours
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getHours()
returns the complete overview, with the day as key and a map as valuegetHours
(Hours.DayOfWeek day) Returns a map of indices andHours.Hour
objects with the open and close timeMethods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
Hours
public Hours()
-
-
Method Details
-
getHours
Returns a map of indices andHours.Hour
objects with the open and close time- Parameters:
day
- the day the map should be returned for- Returns:
- the map containing the index and the
Hours.Hour
object
-
getHours
returns the complete overview, with the day as key and a map as value- Returns:
- the complete overview
-
addHour
-