net.xfra.qizxopen.util
Interface DateConverter
- All Superinterfaces:
- NumberConverter
- All Known Implementing Classes:
- DefaultDateConverter
- public interface DateConverter
- extends NumberConverter
Abstract converter from string to date-time (expressed in seconds from UTC epoch).
Method Summary |
double |
convert(java.lang.String date)
Converts the date to a double (in seconds from UTC epoch).
|
convert
public double convert(java.lang.String date)
- Converts the date to a double (in seconds from UTC epoch).
If the conversion is not possible, returns NaN.
The string passed has no leading whitespace.
- Specified by:
convert
in interface NumberConverter