public class Hours
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Hours() |
Modifier and Type | Method and Description |
---|---|
java.util.List<ExceptionalPeriod> |
getExceptionalClosings()
Exceptions for specified calendar dates, time-range based.
|
java.util.List<ExceptionalPeriod> |
getExceptionalOpenings()
Exceptions for specified calendar dates, time-range based.
|
java.util.List<RegularHours> |
getRegularHours()
Regular hours, weekday-based.
|
java.lang.Boolean |
isTwentyFourSeven()
True to represent 24 hours a day and 7 days a week, except the given exceptions.
|
public java.lang.Boolean isTwentyFourSeven()
public java.util.List<RegularHours> getRegularHours()
RegularHours
object.RegularHours
object.public java.util.List<ExceptionalPeriod> getExceptionalOpenings()
Additional to regular_hours. May overlap regular rules.
public java.util.List<ExceptionalPeriod> getExceptionalClosings()
Overwriting regular_hours and exceptional_openings. Should not overlap exceptional_openings.