Class DateTime
- java.lang.Object
-
- org.apache.james.mime4j.dom.datetime.DateTime
-
public class DateTime extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Date
convertToDate(int year, int month, int day, int hour, int minute, int second, int timeZone)
boolean
equals(Object obj)
Date
getDate()
int
getDay()
int
getHour()
int
getMinute()
int
getMonth()
int
getSecond()
int
getTimeZone()
int
getYear()
int
hashCode()
void
print()
String
toString()
-
-
-
Constructor Detail
-
DateTime
public DateTime(String yearString, int month, int day, int hour, int minute, int second, int timeZone)
-
-
Method Detail
-
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()
-
-