Class DefaultTemporalDatum

All Implemented Interfaces:
Serializable, Formattable, Deprecable, Lenient­Comparable, Datum, Temporal­Datum, Identified­Object

public class DefaultTemporalDatum extends AbstractDatum implements TemporalDatum
Defines the origin of a temporal coordinate reference system.

Creating new temporal datum instances

New instances can be created either directly by specifying all information to a factory method (choices 3 and 4 below), or indirectly by specifying the identifier of an entry in a database (choices 1 and 2 below). Choice 1 in the following list is the easiest but most restrictive way to get a temporal datum. The other choices provide more freedom.
  1. Create a Temporal­Datum from one of the static convenience shortcuts listed in Common­CRS​.Temporal​.datum().
  2. Create a Temporal­Datum from an identifier in a database by invoking Datum­Authority­Factory​.create­Temporal­Datum(String).
  3. Create a Temporal­Datum by invoking the Datum­Factory​.create­Temporal­Datum(…) method, (implemented for example by Geodetic­Object­Factory).
  4. Create a Default­Temporal­Datum by invoking the constructor.
Example: the following code gets a temporal datum having its origin at January 1st, 4713 BC at 12:00 UTC:
TemporalDatum datum = CommonCRS.Temporal.JULIAN.datum();

Immutability and thread safety

This class is immutable and thus thread-safe if the property values (not necessarily the map itself) given to the constructor are also immutable. Unless otherwise noted in the javadoc, this condition holds if all components were created using only SIS factories and static constants.
Since:
0.4
See Also: