Lea Verou 21.04.2009

Java pretty dates

Przeczytaj oryginał

This article provides a complete Java class called PrettyDate that formats dates into human-readable strings like 'yesterday', '5 minutes ago', or 'last year'. It includes the full source code and explains the logic behind converting timestamp differences into pretty date formats for use in applications.

Java pretty dates

komentarzy

Brak komentarzy

Bądź pierwszy, który podzieli się swoimi myślami!

Rozszerzenie przeglądarki

Uzyskaj natychmiastowy dostęp do AllDevBlogs z przeglądarki

Tydzień

No top articles yet