org.apache.james.mime4j.field.datetime
Class DateTime
java.lang.Object
org.apache.james.mime4j.field.datetime.DateTime
public class DateTime
- extends Object
Constructor Summary |
DateTime(String yearString,
int month,
int day,
int hour,
int minute,
int second,
int timeZone)
|
DateTime
public DateTime(String yearString,
int month,
int day,
int hour,
int minute,
int second,
int timeZone)
convertToDate
public static Date convertToDate(int year,
int month,
int day,
int hour,
int minute,
int second,
int timeZone)
getDate
public Date getDate()
getYear
public int getYear()
getMonth
public int getMonth()
getDay
public int getDay()
getHour
public int getHour()
getMinute
public int getMinute()
getSecond
public int getSecond()
getTimeZone
public int getTimeZone()
print
public void print()
toString
public String toString()
- Overrides:
toString
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2004-2012 JBoss by Red Hat. All Rights Reserved.