Luxon Manual Reference
import InvalidZone from 'luxon/src/zones/invalidZone.js'
public class | source

InvalidZone

Extends:

Zone → InvalidZone

Implements:

A zone that failed to parse. You should never need to instantiate this.

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public get
public get

name: *

public get
public get
public

@private

Method Summary

Public Methods
public
public
public

offset(): *

public

offsetName(): *

Inherited Summary

From class Zone
public get abstract

Return whether this Zone is valid.

public get abstract

The name of this zone.

public get abstract

The type of zone

public get abstract

Returns whether the offset is known to be fixed for the whole year.

public abstract

equals(otherZone: Zone): boolean

Return whether this Zone is equal to another zone

public abstract

formatOffset(ts: number, format: string): string

Returns the offset's value as a string

public abstract

Return the offset in minutes for this zone at the specified timestamp.

public abstract

Returns the offset's common name (such as EST) at the specified timestamp

Public Constructors

public constructor() source

Public Members

public get isValid: boolean source

Return whether this Zone is valid.

Override:

Zone#isValid

public get name: * source

The name of this zone.

Override:

Zone#name

public get type: string source

The type of zone

Override:

Zone#type

public get universal: boolean source

Returns whether the offset is known to be fixed for the whole year.

Override:

Zone#universal

public zoneName: * source

@private

Public Methods

public equals(): boolean source

Return whether this Zone is equal to another zone

Override:

Zone#equals

Return:

boolean

public formatOffset(): string source

Returns the offset's value as a string

Override:

Zone#formatOffset

Return:

string

public offset(): * source

Return the offset in minutes for this zone at the specified timestamp.

Override:

Zone#offset

Return:

*

public offsetName(): * source

Returns the offset's common name (such as EST) at the specified timestamp

Override:

Zone#offsetName

Return:

*