Class DateTime


  • public class DateTime
    extends Object
    • 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()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object