目录

Period

Class Info

public class Period

Represents a period of time.

Public Constructor Summary

Constructor Name

Period()

Default constructor.

Public Method Summary

Qualifier and Type

Method Name and Description

TimeOfWeek

getClose()

Obtains the close time of a place.

TimeOfWeek

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.

Public Methods

[h2]getClose

Method

public TimeOfWeek getClose()

Obtains the close time of a place.

Returns

Type

Description

TimeOfWeek

Close time of a place.

[h2]getOpen

Method

public TimeOfWeek getOpen()

Obtains the open time of a place.

Returns

Type

Description

TimeOfWeek

Open time of a place.

[h2]setClose

Method

public void setClose(TimeOfWeek close)

Sets the close time of a place.

Parameters

Name

Description

close

Close time of a place.

[h2]setOpen

Method

public void setOpen(TimeOfWeek open)

Sets the open time of a place.

Parameters

Name

Description

open

Open time of a place.