6.3.2.9.6. DateTime

public class DateTime extends AppCompatTextView implements IFormControl

6.3.2.9.6.1. Fields

6.3.2.9.6.1.1. mCalendar

protected Calendar mCalendar

6.3.2.9.6.1.2. mDateFormat

protected SimpleDateFormat mDateFormat

6.3.2.9.6.1.3. mFieldName

protected String mFieldName

6.3.2.9.6.1.4. mIsShowLast

protected boolean mIsShowLast

6.3.2.9.6.1.5. mPickerType

protected int mPickerType

6.3.2.9.6.1.6. mTimeDialog

protected TimePickerDialog mTimeDialog

6.3.2.9.6.2. Constructors

6.3.2.9.6.2.1. DateTime

public DateTime(Context context)

6.3.2.9.6.2.2. DateTime

public DateTime(Context context, AttributeSet attrs)

6.3.2.9.6.2.3. DateTime

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

6.3.2.9.6.3. Methods

6.3.2.9.6.3.1. addToLayout

public void addToLayout(ViewGroup layout)

6.3.2.9.6.3.2. getDateUpdateWatcher

protected View.OnClickListener getDateUpdateWatcher(int pickerType)

6.3.2.9.6.3.3. getFieldName

public String getFieldName()

6.3.2.9.6.3.4. getValue

public Object getValue()

6.3.2.9.6.3.5. init

public void init(JSONObject element, List<Field> fields, Bundle savedState, Cursor featureCursor, SharedPreferences preferences)

6.3.2.9.6.3.6. isShowLast

public boolean isShowLast()

6.3.2.9.6.3.7. parseDateTime

protected long parseDateTime(String value, int type)

6.3.2.9.6.3.8. saveLastValue

public void saveLastValue(SharedPreferences preferences)

6.3.2.9.6.3.9. saveState

public void saveState(Bundle outState)

6.3.2.9.6.3.10. setCurrentDate

public void setCurrentDate()

6.3.2.9.6.3.11. setPickerType

public void setPickerType(int pickerType)