资 源 简 介
This project has been moved to GitHub.
Introduction
Being versed in many languages, from time to time we find ourselves coding in one language and longing for the features of another. One such feature missing from Java but built-into PHP is a reliable way of interpreting human descriptions of time into a machine-readable timestamp.
StringToTime for Java is an implementation of PHP"s strtotime function, which accepts English descriptions of time like next Tuesday and produces a Unix timestamp of the resulting date. Our Java implementation is a subclass of java.util.Date, so assuming you give it something it can understand, the resulting object is ready and willing to double as a date with no further interpretation needed.
Getting Started
First, download the library package from project downloads.
Next, add the stringtotime li