Search in sources :

Example 1 with SimpleTimestampContainer

use of org.openstreetmap.osmosis.core.domain.common.SimpleTimestampContainer in project osmosis by openstreetmap.

the class CommonEntityData method setTimestamp.

/**
 * Sets the timestamp in date form. This is the standard method of updating a timestamp.
 *
 * @param timestamp
 *            The timestamp.
 */
public void setTimestamp(Date timestamp) {
    assertWriteable();
    timestampContainer = new SimpleTimestampContainer(timestamp);
}
Also used : SimpleTimestampContainer(org.openstreetmap.osmosis.core.domain.common.SimpleTimestampContainer)

Aggregations

SimpleTimestampContainer (org.openstreetmap.osmosis.core.domain.common.SimpleTimestampContainer)1