DateTime

public class DateTime extends AppCompatTextView implements ISimpleControl

Fields

mDateFormat

protected SimpleDateFormat mDateFormat

mFieldName

protected String mFieldName

mPickerType

protected int mPickerType

mTimeDialog

protected TimePickerDialog mTimeDialog

mValue

protected Long mValue

Constructors

DateTime

public DateTime(Context context)

DateTime

public DateTime(Context context, AttributeSet attrs)

DateTime

public DateTime(Context context, AttributeSet attrs, int defStyle)

Methods

addToLayout

public void addToLayout(ViewGroup layout)

getDateUpdateWatcher

protected View.OnClickListener getDateUpdateWatcher(int pickerType)

getFieldName

public String getFieldName()

getText

public String getText()

getValue

public Object getValue()

init

public void init(Field field, Bundle savedState, Cursor featureCursor)

saveState

public void saveState(Bundle outState)

setCurrentDate

public void setCurrentDate()

setPickerType

public void setPickerType(int pickerType)

setValue

public void setValue(Object val)