Class QueryTime


  • public class QueryTime
    extends java.lang.Object
    A simple helper class to convert date and time into a format for queries.
    Author:
    Maximilian Dorn
    • Constructor Detail

      • QueryTime

        public QueryTime()
      • QueryTime

        public QueryTime​(java.util.Date date)
      • QueryTime

        public QueryTime​(java.util.Calendar calendar)
      • QueryTime

        public QueryTime​(long millis)
      • QueryTime

        public QueryTime​(int year,
                         int month,
                         int day)
      • QueryTime

        public QueryTime​(int year,
                         int month,
                         int day,
                         int hour,
                         int minutes,
                         int seconds)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getYear

        public int getYear()
      • getMonth

        public int getMonth()
      • getDay

        public int getDay()
      • getHour

        public int getHour()
      • getMinutes

        public int getMinutes()
      • getSeconds

        public int getSeconds()