Donald Raab·Jan 2Tell Don’t Ask and Be Specific About the Return TypeLearn how Bag is a natural return type for a method named countBy.
Paul Chuang·Sep 25, 2025Measuring Elapsed Time in Java: System.currentTimeMillis(), Instant.now(), and System.nanoTime()When working in Java, it’s common to measure elapsed time for profiling or logging. But not all time APIs are created equal.
Yassir Acaf·Jan 11, 2025Mastering the Java Date API: Date, Calendar, GregorianCalendar, LocalDateTime, and much more… (…Hello everyone, new day new things to share with you guys 😎.
Priyank Agarwal·Sep 13, 2024Handling Date and Time in Java: From Legacy Date to java.timeWhen it comes to managing date and time in Java, developers have had a long history of dealing with inadequate and often frustrating APIs…
Andi Du·Nov 27, 2023Time in Kotlin, AndroidThis is a very short guide on how to calculate a day’s index in Kotlin and don’t mess up