As far as I noticed there is no implementation for the real time clock of mindsensors for Lejos. I'm working on that. Reading the time and date from the RTC works fine yet.
Writing the time and date to the RTC and changing the time periode from 24h to am/pm and vice/versa isn't supported by my implementation yet though. (I haven't programmed it
Moreover I want to introduce a date-time class names RTCDateTime class which can only represent the possible values of the RTC.
My implementation shall only work with that to ensure facing valid date and time values. (Writing invalid into the RTC may result in unknown behaviour !).
There will be routines to transform it into a Date instance and vice versa of course.
I will tell you as as soon as it is ready to be used.