I needed a Java date and time which is fast, easy to use with lots of functionalities and has a low memory impact. So I designed HalDateTime.
The internal representation is a Long value for the Julian Day and a second long value for the milliseconds at that day. So any serialization only requires two longs.
The current restriction is that it only supports the Gregorian Calendar. Anyway this is the calendar in use worldwide in the business area. As soon as anybody tells me how to convert Gregorian to any other calender I will implement this as well.
Feel free to use :-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Welcome to HalDateTime!
I needed a Java date and time which is fast, easy to use with lots of functionalities and has a low memory impact. So I designed HalDateTime.
The internal representation is a Long value for the Julian Day and a second long value for the milliseconds at that day. So any serialization only requires two longs.
The current restriction is that it only supports the Gregorian Calendar. Anyway this is the calendar in use worldwide in the business area. As soon as anybody tells me how to convert Gregorian to any other calender I will implement this as well.
Feel free to use :-)