Over the last month I have been significantly improving the power, flexibility, and usability of Tedhi.
When I first created Tedhi, it make a huge number of assumptions about how you'd want your dates fromatted. It no longer makes those assumptions. Tedhi now offers the ability to create formats based on either a detailed date pattern string, or via a 'style' parameter that selects between SHORT, MEDIUM, LONG or FULL. Those with a quick eye will notice that this is a combination of the APIs of java.text.DateFormat and java.text.SimpleDateFormat, with all the power that those APIs bring. Also with this change Tedhi now also localizes the names it uses for months and days.... read more
Tedhi has been created for roughly two reasons: 1) it was relatively easy to create the first cut, and 2) there doesn't seem to be many java libraries that attempt to deal with the problem of parsing and interpreting date ranges in a way that is intuitive to a novice user. A likely explanation for the second point is that generally a better solution is to provide a calendar widget if you creating a web-app. And that's certainly true. This library probably fits a fairly specific niche.... read more