Creates an instance of Since.
Absolute or relative
The metric of since
The value of since
Clone a Since.
A cloned Since instance.
const since1 = since0.clone(); Copy
const since1 = since0.clone();
Static
Creates a Since instance from a SinceLike object.
A SinceLike object or an instance of Since.
A Since instance.
const since = Since.from("0x1234567812345678"); Copy
const since = Since.from("0x1234567812345678");
Converts the Since instance to num.
A num
const num = since.toNum(); Copy
const num = since.toNum();
Creates a Since instance from a num-like value.
The num-like value to convert.
const since = Since.fromNum("0x0"); Copy
const since = Since.fromNum("0x0");
Creates an instance of Since.