I've got a DateTime (SWT.TIME) and want to know if the hours or minutes or seconds are selected. I would like to get this information because I want that the User can scroll the mouse wheel in order to change the selected values accordingly.
Unfortunately I couldn't find any way to get the selected element of the DateTime Control. Does anybody have an idea?
DateTime
provides many methods for getting the selected date. Like getHours
, getMinutes
, getDay
, and so on. It's unclear to me what's your exact question, but appropiate setters are there as well.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.