javax.sip.header
Interface DateHeader
- All Superinterfaces:
- Cloneable, Header, Serializable
- All Known Implementing Classes:
- SIPDateHeader
- public interface DateHeader
- extends Header
The Date header field reflects the time when the request or response is
first sent. Retransmissions have the same Date header field value as the
original. The Date header field contains the date and time. Unlike
HTTP/1.1, SIP only supports the most recent
The Date header field can be used by simple end systems without a
battery-backed clock to acquire a notion of current time. However, in its
GMT form, it requires clients to know their offset from GMT.
Example:
Date: Sat, 13 Nov 2010 23:29:00 GMT
- Version:
- 1.1
- Author:
- Sun Microsystems
Field Summary |
static String |
NAME
Name of DateHeader |
NAME
public static final String NAME
- Name of DateHeader
- See Also:
- Constant Field Values
setDate
public void setDate(Calendar date)
- Sets date of DateHeader. The date is repesented by the Calendar object.
- Parameters:
date
- the Calendar object date of this header.
getDate
public Calendar getDate()
- Gets the date of DateHeader. The date is repesented by the Calender
object.
- Returns:
- the Calendar object representing the date of DateHeader
A product of the NIST/ITL Advanced Networking Technologies Division.
See conditions of use.
Get the latest distribution.
Submit a bug report or feature request.