Package com.drew.lang

Class DateUtil


  • public class DateUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      DateUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isValidDate​(int year, int month, int day)  
      static boolean isValidTime​(int hours, int minutes, int seconds)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DateUtil

        public DateUtil()
    • Method Detail

      • isValidDate

        public static boolean isValidDate​(int year,
                                          int month,
                                          int day)
      • isValidTime

        public static boolean isValidTime​(int hours,
                                          int minutes,
                                          int seconds)