Mobile Development 10.11 | webMethods Mobile SuiteWeb Help | webMethods Mobile Designer Native User Interface Reference | Native User Interface (NativeUI) Objects | nUIDateEntry
 
nUIDateEntry
com.softwareag.mobile.runtime.nui.nUIDateEntry
Use to display a date or time selector control.
Usage Notes
*Use the Format attribute to indicate whether you want a date or time selector control:
For this type of selector
Specify the following for the Format attribute
Date with day, month, and year
nUIDateEntry.dd_MM_yyyy
Time with hours and minutes
nUIDateEntry.HH_mm
*When getting the Date attribute after an EVT_POST_EDIT call to a nUIDateEntry object, only the information for the requested Format is valid. Data outside the specific Format is undefined.
Example
This code sample displays a date selector control. Details on how the example code is rendered on various platforms follow the code sample.
view.add(new nUIDateEntry(NUIID_MY_DATE, null)); //null = current date
Platform
Platform-Specific Class and Visual Reference
Android
DatePickerDialog
iOS
UIDatePicker