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

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

Package publishing for deno.land/x/polkadot
Go to Latest
class CodecDate
implements INumber
extends Date
import { CodecDate } from "https://deno.land/x/polkadot@0.2.28/types-codec/native/index.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

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