Period

public abstract class Period implements Parcelable


Represents a time segment. It may contain an open TimeOfWeek, or a close , or both.

Summary

Nested types

public abstract class Period.Builder

Builder for Period.

Public constructors

Public methods

static Period.Builder

Returns a Builder

abstract @Nullable TimeOfWeek

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

abstract @Nullable TimeOfWeek

Returns the time marker for when the Place opens.

Inherited Constants

From android.os.Parcelable
static final int
static final int
static final int
static final int

Inherited methods

From android.os.Parcelable
abstract int
int
abstract void
writeToParcel(Parcel p, int p1)

Public constructors

Period

public Period()

Public methods

builder

public static Period.Builder builder()

Returns a Builder

getClose

public abstract @Nullable TimeOfWeek getClose()

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

getOpen

public abstract @Nullable TimeOfWeek getOpen()

Returns the time marker for when the Place opens.