Apache JAMES Mime4j 0.6-redhat-2

org.apache.james.mime4j.field.datetime
Class DateTime

java.lang.Object
  extended by 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)
           
 
Method Summary
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()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

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()

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

Apache JAMES Mime4j 0.6-redhat-2

Copyright © 2004-2012 JBoss by Red Hat. All Rights Reserved.