TimeOfWeek

public abstract class TimeOfWeek extends Object
implements Parcelable

Represents a a timestamp that's identified by the day of the week, and the time in 24 hour format.

Inherited Constant Summary

Public Constructor Summary

Public Method Summary

abstract DayOfWeek
getDay()
Returns the day of the week.
abstract LocalTime
getTime()
Returns the time in 24 hour format, for example "1730", or "0000"
static TimeOfWeek
newInstance(DayOfWeek day, LocalTime localTime)
Returns an instance of TimeOfWeek.

Inherited Method Summary

Public Constructors

public TimeOfWeek ()

Public Methods

public abstract DayOfWeek getDay ()

Returns the day of the week.

public abstract LocalTime getTime ()

Returns the time in 24 hour format, for example "1730", or "0000"

public static TimeOfWeek newInstance (DayOfWeek day, LocalTime localTime)

Returns an instance of TimeOfWeek.

Parameters
day
localTime

Enviar comentários sobre…