org.kde.koala
public class KRFCDate extends Object implements QtSupport
UNKNOWN: The KRFCDate class contains functions related to the parsing of dates.
Constructor Summary | |
---|---|
protected | KRFCDate(Class dummy) |
KRFCDate() |
Method Summary | |
---|---|
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
protected void | finalize() Deletes the wrapped C++ instance |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
static int | localUTCOffset()
Returns the local timezone offset to UTC in minutes |
static int | parseDate(String date)
This function tries to parse a string containing a date/time in any
of the formats specified by RFC822, RFC850, RFC1036, RFC1123 and RFC2822.
|
static int | parseDateISO8601(String date)
This function tries to parse a string containing a date/time in
any of the formats specified by http://www.w3.org/TR/NOTE-datetime
This is a subset of the formats specified in ISO8601.
|
static String | rfc2822DateString(int utcTime, int utcOffset)
Returns a string representation of the given date and time formated
in conformance to RFC2822. |
static String | rfc2822DateString(int utcTime)
Returns a string representation of the given date and time formated
in conformance to RFC2822.
|
Returns: the local timezone offset in minutes
UNKNOWN: Returns the local timezone offset to UTC in minutes
Parameters: date the date to parse
Returns: the date, or 0 if not possible
UNKNOWN: This function tries to parse a string containing a date/time in any of the formats specified by RFC822, RFC850, RFC1036, RFC1123 and RFC2822.
Parameters: date the date to parse
Returns: the date, or 0 if not possible
UNKNOWN: This function tries to parse a string containing a date/time in any of the formats specified by http://www.
Parameters: utcTime a date and time in UTC utcOffset the offset to UTC in minutes
Returns: the string representation of the date
UNKNOWN: Returns a string representation of the given date and time formated in conformance to RFC2822.
Parameters: utcTime a date and time in UTC
Returns: the string representation of the date
UNKNOWN: Returns a string representation of the given date and time formated in conformance to RFC2822.