info.informatica.text
Class DateFormatUtil
java.lang.Object
info.informatica.text.DateFormatUtil
public class DateFormatUtil
- extends Object
Convenience class for DateFormat utility functions
- Version:
- 1.01
- Author:
- amengual at informatica dot info
DateFormatUtil
public DateFormatUtil()
guessDate
public Date guessDate(String formatted_date)
- Guesses a date from a String, not knowing the format in advance. Assumes
that the date to be guessed is less than SANITY_INTERVAL (20 yrs) from
now. Use with caution. TODO: Use locale information, if available, to
guess the date.
guessDate
public Date guessDate(Date refdate,
String formatted_date)