Skip to content

Tag: eclipse-rcp

SWT DateTime – read date and time from two widgets

Imagine two widgets: and Would would be the most efficient way to read date and time from the two widgets into a single Date variable? Edit: The following solution that I have in mind is far from being elegant. I hope that there is a better way to do this. Answer For Java 8 and later you can use LocalDateTime…