Skip to main content
Module

x/polkadot/mod.ts>typesCodec.Date

Package publishing for deno.land/x/polkadot
Go to Latest
class typesCodec.Date
implements INumber
extends Date
import { typesCodec } from "https://deno.land/x/polkadot@0.2.12/mod.ts";
const { Date } = typesCodec;

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