Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/polkadot/types-codec/index.ts>Date

Package publishing for deno.land/x/polkadot
Go to Latest
class Date
implements INumber
extends Date
import { Date } from "https://deno.land/x/polkadot@0.2.14/types-codec/index.ts";

Constructors

new
Date(registry: Registry, value?: CodecDate | Date | AnyNumber)

Properties

optional
createdAtHash: IU8a
readonly
encodedLength: number
readonly
hash: IU8a
readonly
isEmpty: boolean
readonly
registry: Registry

Methods

bitLength(): UIntBitLength
eq(other?: unknown): boolean
inspect(): Inspect
toBigInt(): bigint
toBn(): BN
toHex(isLe?): HexString
toHuman(): string
toJSON(): any
toNumber(): number
toPrimitive(): number
toRawType(): string
toString(): string
toU8a(isBare?: boolean): Uint8Array