Represents a time segment. It may contain an open TimeOfWeek
, or a close TimeOfWeek
, or both.
Nested Class Summary
class | Period.Builder | Builder for Period . |
Inherited Constant Summary
Public Constructor Summary
Period()
|
Public Method Summary
static Period.Builder |
builder()
Returns a
Period.Builder |
abstract TimeOfWeek | |
abstract TimeOfWeek |
Inherited Method Summary
Public Constructors
public Period ()
Public Methods
public abstract TimeOfWeek getClose ()
Returns the time marker for when the Place
closes or null if it's always open.