Module

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

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

Constructors

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

Properties

optional
createdAtHash: IU8a
readonly
encodedLength: number
readonly
hash: IU8a
initialU8aLength
readonly
isEmpty: boolean
optional
isStorageFallback: 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