| Modifier | Constructor and Description |
|---|---|
protected |
Period() |
| Modifier and Type | Method and Description |
|---|---|
Day |
getClosingDay()
Returns the day this period closes.
|
String |
getClosingTime()
Returns the closing time in hhmm format.
|
Day |
getOpeningDay()
Returns the day this period opens.
|
String |
getOpeningTime()
Returns the time this period opens in hhmm format.
|
protected Hours.Period |
setClosingDay(Day closingDay)
Sets the day this period closes.
|
protected Hours.Period |
setClosingTime(String closingTime)
Sets the closing time of this period.
|
protected Hours.Period |
setOpeningDay(Day openingDay)
Sets the day this period opens.
|
protected Hours.Period |
setOpeningTime(String openingTime)
Sets the time this period opens.
|
String |
toString() |
public Day getOpeningDay()
protected Hours.Period setOpeningDay(Day openingDay)
openingDay - starting daypublic String getOpeningTime()
protected Hours.Period setOpeningTime(String openingTime)
openingTime - starting timepublic Day getClosingDay()
protected Hours.Period setClosingDay(Day closingDay)
closingDay - end daypublic String getClosingTime()
protected Hours.Period setClosingTime(String closingTime)
closingTime - end timeCopyright © 2014–2015. All rights reserved.