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

Variable Index

 o date
 o days
 o months
 o tz

Method Index

 o getValue()
Get the date value.
 o main(String[])
 o parse()
Parse this header value into its various components.
 o setValue(long)
Set this date object value.
 o updateByteValue()
Update the RFC822 compatible header value for this object.

Variables

 o days
 protected static String days[]
 o months
 protected static String months[]
 o date
 protected Long date
 o tz
 protected int tz

Methods

 o parse
 protected void parse()
Parse this header value into its various components.

Overrides:
parse in class BasicValue
 o updateByteValue
 protected void updateByteValue()
Update the RFC822 compatible header value for this object.

Overrides:
updateByteValue in class BasicValue
 o 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
 o setValue
 public void setValue(long date)
Set this date object value.

Parameters:
date - The new date value, as the number of milliseconds since epoch.
 o main
 public static void main(String args[])

All Packages  Class Hierarchy  This Package  Previous  Next  Index