* adding getCurrentTime method to TimeAgoCalculatorUnitTest in order to always return the same time and avoid problems related to reading date from local system. adding two methods to TimeAgoCalculator to always return the same date as the current date in order to avoid problems related to reading current time from local host. One of these two methods accepts time zone * adding getCurrentTime method to TimeAgoCalculatorUnitTest in order to always return the same time and avoid problems related to reading date from local system. adding two methods to TimeAgoCalculator to always return the same date as the current date in order to avoid problems related to reading current time from local host. One of these two methods accepts time zone correcting some formattings adding comments in code to clarify adding of getCurrentTime methods * reverting changes to ZuulConfig |
||
---|---|---|
.. | ||
src | ||
README.md | ||
pom.xml |
README.md
Core Date Operations (Part 2)
This module contains articles about date operations in Java.
Relevant Articles:
- Get the Current Date Prior to Java 8
- Skipping Weekends While Adding Days to LocalDate in Java 8
- Checking If Two Java Dates Are on the Same Day
- Converting Java Date to OffsetDateTime
- How to Set the JVM Time Zone
- How to determine day of week by passing specific date in Java?
- Finding Leap Years in Java
- Getting the Week Number From Any Date
- Subtract Days from a Date in Java
- How to Calculate “Time Ago” in Java
- [<-- Prev]