TimeToGo v1.0.0
I’m releasing TimeToGo v1.0.0 class which converts a future date to ‘time to go’ format. My goal was to develop a class with no dependencies.
So basically, TimeToGo determines time left between the current date and a future date very much like ‘10 days to go or 1 month to go’.
Usage:
String timeToGo = TimeToGo.getTimeLeft("2014-11-29"); // Date Should be YYYY-mm-dd format
System.out.println(timeToGo);