Uses of Class
com.google.cloud.Timestamp
Packages that use Timestamp
-
Uses of Timestamp in com.google.cloud
Fields in com.google.cloud declared as TimestampModifier and TypeFieldDescriptionstatic final TimestampTimestamp.MAX_VALUEThe largest legal timestamp ("9999-12-31T23:59:59Z").static final TimestampTimestamp.MIN_VALUEThe smallest legal timestamp ("0001-01-01T00:00:00Z").Methods in com.google.cloud that return TimestampModifier and TypeMethodDescriptionstatic TimestampTimestamp.fromProto(com.google.protobuf.Timestamp proto) Creates an instance of Timestamp fromcom.google.protobuf.Timestamp.static TimestampTimestamp.now()Creates an instance with current time.static TimestampCreates an instance representing the value oftimestamp.static TimestampCreates an instance representing the value ofDate.static TimestampTimestamp.ofTimeMicroseconds(long microseconds) Creates an instance representing the value ofmicroseconds.static TimestampTimestamp.ofTimeSecondsAndNanos(long seconds, int nanos) Creates an instance representing the value ofsecondsandnanossince January 1, 1970, 00:00:00 UTC.static TimestampTimestamp.parseTimestamp(String timestamp) Creates a Timestamp instance from the given string.Methods in com.google.cloud with parameters of type Timestamp