Represents information on when a Place
will be open during the week.
Nested Class Summary
class | OpeningHours.Builder | Builder for OpeningHours . |
Inherited Constant Summary
Public Constructor Summary
Public Method Summary
static OpeningHours.Builder |
builder()
Returns a
OpeningHours.Builder . |
abstract List<Period> |
getPeriods()
Returns a list of
Period objects that provide more detailed information that is
equivalent to the data provided by getWeekdayText() . |
abstract List<String> |
getWeekdayText()
Returns a list of strings that represent opening and closing hours in human readable form.
|
Inherited Method Summary
Public Constructors
public OpeningHours ()
Public Methods
public static OpeningHours.Builder builder ()
Returns a OpeningHours.Builder
.
Any values not explicitly set, default to an empty List.
public abstract List<Period> getPeriods ()
Returns a list of Period
objects that provide more detailed information that is
equivalent to the data provided by getWeekdayText()
.
This list should not be modified.