Class DateUtils

  • All Implemented Interfaces:

    
    public final class DateUtils
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Boolean after(Date $self, Date that) Tests if this date is after that date.
      final static Date max(Date dateA, Date dateB) Returns the greater of two dates.
      final static Date min(Date dateA, Date dateB)
      final static Date maxOf(Date dates)
      final static Date minOf(Date dates)
      final static Boolean inOffsetWith(Date $self, Date other, Long offset) Check if current date has difference with other no more that offset.
      final static TimeDuration diff(Date $self, Long otherTime) Returns difference between this date and the otherTime in TimeDuration.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait