Module

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

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

Constructors

new
CodecDate(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

eq(other?: unknown): boolean
toBigInt(): bigint
toBn(): BN
toHuman(): string
toJSON(): any
toNumber(): number
toPrimitive(): number
toRawType(): string
toString(): string
toU8a(_isBare?: boolean): Uint8Array