Subscribe to RSS

Some rights reserved

Except where otherwise noted, content on this site is licensed under a Creative Commons License


blog‎ > ‎

strtotime for Java5

posted Jan 12, 2010 4:22 PM by Davide Angelocola   [ updated Jan 27, 2010 8:15 AM ]
About five months ago I've answered this question on stackoverflow. Then I've created a project on bitbucket. Feel free to browse the source, send patches, write documentation, and please contribute whatever you can do make it better for everyone

Examples
import static com.humaorie.strtotime.strtotime.*;
Date now = strtotime("now");
Date yesterday = strtotime("yesterday");
Date dayBeforeYesterday = strtotime("2 days");