Top Description Fields Constructors Methods
com.sun.mail.imap.protocol

public Class INTERNALDATE

extends Object
implements Item
Class Inheritance
All Implemented Interfaces
com.sun.mail.imap.protocol.Item
Imports
java.util.Date, .TimeZone, .Locale, java.text.ParseException, .SimpleDateFormat, .FieldPosition, javax.mail.internet.MailDateFormat, com.sun.mail.iap.*

An INTERNALDATE FETCH item.
Author
John Mani

Field Summary

Modifier and TypeField and Description
protected Date
private static SimpleDateFormat
private static final MailDateFormat
public int
pack-priv static final char[]

Constructor Summary

AccessConstructor and Description
public
INTERNALDATE(FetchResponse
the FetchResponse
r
)

Constructor.

Method Summary

Modifier and TypeMethod and Description
public static String

Returns:

INTERNALDATE string
format
(Date
the Date
d
)

Format given Date object into INTERNALDATE string

public Date
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

dateback to summary
protected Date date
dfback to summary
private static SimpleDateFormat df
mailDateFormatback to summary
private static final MailDateFormat mailDateFormat
msgnoback to summary
public int msgno
nameback to summary
pack-priv static final char[] name

Constructor Detail

INTERNALDATEback to summary
public INTERNALDATE(FetchResponse r) throws ParsingException

Constructor.

Parameters
r:FetchResponse

the FetchResponse

Exceptions
ParsingException:
for parsing failures

Method Detail

formatback to summary
public static String format(Date d)

Format given Date object into INTERNALDATE string

Parameters
d:Date

the Date

Returns:String

INTERNALDATE string

getDateback to summary
public Date getDate()