M-Business Date/Time Picker API

The M-Business Date/Time Picker is a MIME player that allows the user to select a date or a time. A Date/Time Picker instance is initially displayed as a read-only text field. The user taps on the text field to expand the date/time picker inline; the user taps on the text field again to return the Date/Time Picker to its original state.

Note

The Date/Time Picker currently is available only for use with the M-Business XML POD, which receives data from the M-Business XML conduit. If you use the UltraLite on-device database, you will have to provide comparable functionality.

Caution

If you use the Date/Time Picker, you must make sure that the supporting code file on the device is the correct one for the version of M-Business Client on the device. For more information, see M-Business version-specific on-device code files.

Specific format specifications for the read-only text field are listed in Field format specifications.

The rest of this section documents the functions available in the M-Business Date/Time Picker API. For instructions on embedding an instance of the Date/Time Picker in HTML, see Using the Date/Time Picker.


Summary of M-Business Date/Time Picker API attributes and methods
getDate( )
getDateTime( )
getDateTimeString( )
getHours( )
getMinutes( )
getMonth( )
getYear( )
isDateSet( )
isNull( )
isTimeSet( )
refreshScreen( )
setCurrentTime( )
setDateTime( )
setFormat( )
setAbbreviatedMonthLabels( )
setAbbreviatedWeekdayLabels( )
setFullMonthLabels( )
setFullWeekdayLabels( )
setShortWeekdayLabels( )