Period

public abstract class Period extends Object
implements Parcelable

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
getClose()
Returns the time marker for when the Place closes or null if it's always open.
abstract TimeOfWeek
getOpen()
Returns the time marker for when the Place opens.

Inherited Method Summary

Public Constructors

public Period ()

Public Methods

public static Period.Builder builder ()

Returns a Period.Builder

public abstract TimeOfWeek getClose ()

Returns the time marker for when the Place closes or null if it's always open.

public abstract TimeOfWeek getOpen ()

Returns the time marker for when the Place opens.

Enviar comentários sobre…