public class

DateTimePickerFormCellBindingAdapter

extends Object
java.lang.Object
   ↳ com.sap.cloud.mobile.fiori.bindingadapters.DateTimePickerFormCellBindingAdapter

Class Overview

Binding Adapter class for DateTimePickerFormCell.

Summary

Public Constructors
DateTimePickerFormCellBindingAdapter()
Public Methods
static void setDateTimeFormatter(DateTimePickerFormCell dateTimePickerFormCell, String format)
setDateTimeFormatter function in DateTimePickerFormCell takes SimpleDateFormat as data-type.
static void setIsEditable(DateTimePickerFormCell dateTimePickerFormCell, boolean isEditable)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public DateTimePickerFormCellBindingAdapter ()

Public Methods

public static void setDateTimeFormatter (DateTimePickerFormCell dateTimePickerFormCell, String format)

setDateTimeFormatter function in DateTimePickerFormCell takes SimpleDateFormat as data-type. So convert the String to SimpleDateFormat and call the setDateTimeFormatter function of the view.

Parameters
dateTimePickerFormCell DateTimePickerFormCell object
format developer defined date formatter string

public static void setIsEditable (DateTimePickerFormCell dateTimePickerFormCell, boolean isEditable)