Can't choose, than to use Date or Calendar (or maybe something else?). The reason for this is that I haven't worked with one of them.
The problem is this. The user performs some action. They are recorded in the log. The magazine is not large, so it is the role of an ArrayList with objects (records). It is possible to fix with accuracy to the minute, but it is better to the second. After the application is closed, data is saved to a file, as XML. There and kept the whole magazine. Then when the application is loaded from file, all is restored. Don't ask me why XML.
reba.Ruecker15 answered on October 8th 19 at 03:50
Well, everything is simple. If you just store the date — Date enough. If you need to carry out various activities (e.g. counting the number of days between events etc) — then perhaps it makes sense and Сalendar to use.