- Preparing search index...
- The search index is not available
@hashgraph/sdk
Constructors
constructor
- new Timestamp(seconds, nanos): Timestamp
-
Parameters
-
seconds: number | Long
-
nanos: number | Long
Properties
Readonly
nanos
nanos: Long
Readonly
seconds
seconds: Long
Methods
compare
- compare(other): number
-
Returns number
toDate
- toDate(): Date
-
Returns Date
toString
- toString(): string
-
Returns string
Static
fromDate
- fromDate(date): Timestamp
-
Parameters
-
date: string | number | Date