@Immutable @SerializeWith(value=Timestamp.Externalizer.class) public final class Timestamp extends Object
timestamp value for use within a BSON object. Note that using Date is
recommended for most applications and use cases, as they are more generally suited for representing instants in time.| Modifier and Type | Class and Description |
|---|---|
static class |
Timestamp.Externalizer |
| Constructor and Description |
|---|
Timestamp() |
Timestamp(Date date) |
Timestamp(int timeInSeconds,
int inc) |
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.