Nitesh Morajkar
Nitesh Morajkar

  Nov 15, 2014   1 min read

TimeToGo v1.0.0

A thumbnail image

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);