public class ZendriveShiftTime extends Object implements Parcelable
dayOfWeek,
hour and minutes.Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>| Modifier and Type | Field and Description |
|---|---|
static Parcelable.Creator<ZendriveShiftTime> |
CREATOR |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| Constructor and Description |
|---|
ZendriveShiftTime(ZendriveDayOfWeek dayOfWeek,
int hour,
int minutes)
Creates a
ZendriveShiftTime object with given day of the week
ZendriveDayOfWeek, hour of the day and minutes value. |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
boolean |
equals(Object o) |
ZendriveDayOfWeek |
getDayOfWeek()
Get the day of the week represented by
ZendriveDayOfWeek |
int |
getHour()
Get the hour of the day in military time format i.e.
|
int |
getMinutes()
Get the minutes value.
|
int |
hashCode() |
String |
toString() |
void |
writeToParcel(Parcel dest,
int flags) |
public static final Parcelable.Creator<ZendriveShiftTime> CREATOR
public ZendriveShiftTime(@NonNull ZendriveDayOfWeek dayOfWeek, int hour, int minutes)
ZendriveShiftTime object with given day of the week
ZendriveDayOfWeek, hour of the day and minutes value.dayOfWeek - Day of the week as represented by ZendriveDayOfWeek.hour - Hour of the day in military format. The values are in the range [0, 23]minutes - Minutes past the hour of the day. The values are in the range [0, 59]public ZendriveDayOfWeek getDayOfWeek()
ZendriveDayOfWeekpublic int getHour()
public int getMinutes()
public int describeContents()
describeContents in interface Parcelablepublic void writeToParcel(Parcel dest, int flags)
writeToParcel in interface Parcelable