Tedhi provides extremely flexible parsing of dates and date ranges. It uses an intuitive syntax and recognises partial dates.
Examples of date ranges supported are:
- 1/Nov/2012 to 30/Nov/2012 (start of 1st to end of 30th)
- Nov/2012 to Dec/2012 (start of 1/Nov to end of 31/Dec)
- 2012 to 2013 (start of 1/Jan/2012 to end of 31/Dec/2012)
- Nov (start of 1/Nov this year, to end of 30/Nov this year)
Now available on Maven Central.
Features
- Flexibly recognises a wide range of date formats
- Date ranges are inclusive/exclusive in an intuitive and consistent way
- Date range syntax intuitive for novice users
- Efficient and lightweight
- Easily configurable
- Similar API to java.text.DateFormat and java.text.SimpleDateFormat
- Supports localised and customised date formats
Usage
Check out the usage pages for Date Input and Date Range Input, and then check out the developer guide.
Tedhi is the Tamil word for date, pronounced "tay-dee".