org.qi4j.api.util

## Class Dates

- java.lang.Object
- - org.qi4j.api.util.Dates

-     public final class Dates
      extends Object

  Useful methods for handling Dates.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Date` | `fromString(String stringDate)`
    `static String` | `toUtcString(Date date)`

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

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

- - ### Method Detail

    - #### fromString

          public static Date fromString(String stringDate)

      Parameters:
        `stringDate` - a string representing a date as either ISO8601, @millis@ or /Date() formats
      Returns:
        a Date

    - #### toUtcString

          public static String toUtcString(Date date)

      Parameters:
        `date` - a Date
      Returns:
        String representation in ISO8601 UTC