Class Info |
|---|
public class Period Represents a period of time. |
Qualifier and Type |
Method Name and Description |
|---|---|
getClose() Obtains the close time of a place. |
|
getOpen() Obtains the open time of a place. |
|
void |
setClose(TimeOfWeek close) Sets the close time of a place. |
void |
setOpen(TimeOfWeek open) Sets the open time of a place. |
Method |
|---|
public TimeOfWeek getClose() Obtains the close time of a place. |
Returns
Type |
Description |
|---|---|
Close time of a place. |
Method |
|---|
public TimeOfWeek getOpen() Obtains the open time of a place. |
Returns
Type |
Description |
|---|---|
Open time of a place. |
Method |
|---|
public void setClose(TimeOfWeek close) Sets the close time of a place. |
Parameters
Name |
Description |
|---|---|
close |
Close time of a place. |
Method |
|---|
public void setOpen(TimeOfWeek open) Sets the open time of a place. |
Parameters
Name |
Description |
|---|---|
open |
Open time of a place. |