ortolanph / stringsplitter

A generic String Splitter
1 stars 1 forks source link

Consider to forget Calendar type #9

Open leonardofl opened 4 years ago

leonardofl commented 4 years ago

With new Java classes such as LocalDate, LocalTime, and LocalDateTime, the Calendar class is somehow unnecessary now. Maybe you should no bother with it.

ortolanph commented 4 years ago

I will think about this issue. Some systems are stubborn and still prefer to use an old approach to handle dates with modern Java versions. I think that LocalDate, LocalTime, and LocalDateTime can be converted to Date and then it can be used to create a Calendar instance. So neither Date nor Calendar splitters are necessary.