public class

Duration

extends Object
implements Parcelable Serializable
java.lang.Object
   ↳ com.sap.cloud.mobile.fiori.formcell.Duration

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final Creator<Duration> CREATOR
Public Constructors
Duration(int hour, int minute)
Duration(int hour, int minute, String durationTextFormat)
Protected Constructors
Duration(Parcel in)
Public Methods
int describeContents()
boolean equals(Object obj)
String getDurationTextFormat()
int getHour()
Get the hour of the TimePickerTime model
int getMinute()
Get the minute of the TimePickerTime model
int hashCode()
void setDurationTextFormat(String durationTextFormat)
void setHour(int hour)
Set the hour of the TimePickerTime model
void setMinute(int minute)
Set the minute of the TimePickerTime model
String toString()
void writeToParcel(Parcel dest, int flags)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Fields

public static final Creator<Duration> CREATOR

Public Constructors

public Duration (int hour, int minute)

public Duration (int hour, int minute, String durationTextFormat)

Protected Constructors

protected Duration (Parcel in)

Public Methods

public int describeContents ()

public boolean equals (Object obj)

public String getDurationTextFormat ()

public int getHour ()

Get the hour of the TimePickerTime model

Returns
  • hour

public int getMinute ()

Get the minute of the TimePickerTime model

Returns
  • int

public int hashCode ()

public void setDurationTextFormat (String durationTextFormat)

public void setHour (int hour)

Set the hour of the TimePickerTime model

Parameters
hour hour

public void setMinute (int minute)

Set the minute of the TimePickerTime model

Parameters
minute int

public String toString ()

public void writeToParcel (Parcel dest, int flags)