Class Dates

java.lang.Object
com.complexible.common.base.Dates

public final class Dates extends Object

Utility methods for working with the Date object

Since:
2.0
Version:
4.0
Author:
Michael Grove
  • Method Details

    • asDate

      public static Date asDate(String theDate)
      Formats the given string as a java.util.Date object.
      Parameters:
      theDate - the date string
      Returns:
      the string as a java.util.Date object
    • date

      public static String date(Date theDate)
    • datetime

      public static String datetime(Date theDate)
    • datetimeISO

      public static String datetimeISO(Date theDate)