Defines an instant in time that can be queried using datetime fields.
The implementation of this interface may be mutable or immutable.
This interface only gives access to retrieve data, never to change it.
Methods in your application should be defined using ReadableDateTime
as a parameter if the method only wants to read the datetime, and not perform
any advanced manipulations.
author: Stephen Colebourne author: Brian S O'Neill since: 1.0
Output the instant using the specified format pattern.
Parameters: pattern - pattern specification Parameters: locale - Locale to use, or null for default throws: IllegalArgumentException - if pattern is invalid See Also:org.joda.time.format.DateTimeFormat