| java.lang.Object com.sun.portal.search.util.DateParser
DateParser | public class DateParser (Code) | | |
Method Summary | |
public static synchronized Date | parse(String date, boolean _32_bits) This date parser understands many US and locale based formats. | public static synchronized Date | parse(String date) This date parser understands many US and locale based formats. |
_32_bit_seconds | static long _32_bit_seconds(Code) | | |
parse | public static synchronized Date parse(String date, boolean _32_bits) throws ParseException(Code) | | This date parser understands many US and locale based formats.
Typical RD dates look like: Fri, 17 Jan 1997 16:42:49 GMT
(this format derives from http timestamps)
Parameters: _32_bits - if false allows 64 bit (milliseconds) datesif true, only allows 32 bit dates (seconds) due to search engine limit. |
parse | public static synchronized Date parse(String date) throws ParseException(Code) | | This date parser understands many US and locale based formats.
Typical RD dates look like: Fri, 17 Jan 1997 16:42:49 GMT
(this format derives from http timestamps)
Although Java allows 64 bit date (milliseconds) the default
here only allows 32 bit dates (seconds) due to search engine limit.
|
|
|