Package com.complexible.common.base

# 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 Summary

  Modifier and Type
  Method
  Description
  `static Date`
  `asDate(String theDate)`
  Formats the given string as a java.util.Date object.
  `static String`
  `date(Date theDate)`
  `static String`
  `datetime(Date theDate)`
  `static String`
  `datetimeISO(Date theDate)`

  ### Methods inherited from class java.lang.Object

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

- ## 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)