All Packages Class Hierarchy This Package Previous Next Index
Class w3c.www.http.HttpDate
java.lang.Object
|
+----w3c.www.http.BasicValue
|
+----w3c.www.http.HttpDate
- public class HttpDate
- extends BasicValue
-
date
-
-
days
-
-
months
-
-
tz
-
-
getValue()
- Get the date value.
-
main(String[])
-
-
parse()
- Parse this header value into its various components.
-
setValue(long)
- Set this date object value.
-
updateByteValue()
- Update the RFC822 compatible header value for this object.
days
protected static String days[]
months
protected static String months[]
date
protected Long date
tz
protected int tz
parse
protected void parse()
- Parse this header value into its various components.
- Overrides:
- parse in class BasicValue
updateByteValue
protected void updateByteValue()
- Update the RFC822 compatible header value for this object.
- Overrides:
- updateByteValue in class BasicValue
getValue
public Object getValue()
- Get the date value.
- Returns:
- A Long giving the date as a number of mmilliseconds since epoch.
- Overrides:
- getValue in class BasicValue
setValue
public void setValue(long date)
- Set this date object value.
- Parameters:
- date - The new date value, as the number of milliseconds since
epoch.
main
public static void main(String args[])
All Packages Class Hierarchy This Package Previous Next Index