Interface IDateJS

Index

Methods

Methods

public add(n: number): IAddOrientation

Parameters

  • n: number

Returns

IAddOrientation

public at(time: string): IDateJS

Parameters

  • time: string

Returns

IDateJS

public at(time: ITimeLiteral): IDateJS

Parameters

Returns

IDateJS

public fifth(): IOrientation

Returns

IOrientation

public final(): IOrientation

Returns

IOrientation

public first(): IOrientation

Returns

IOrientation

public fourth(): IOrientation

Returns

IOrientation

public is(): IPredicate

Returns

IPredicate

public last(): IOrientation

Returns

IOrientation

public next(): IOrientation

Returns

IOrientation

public prev(): IOrientation

Returns

IOrientation

public previous(): IOrientation

Returns

IOrientation

public same(): IDatePartComparer

Determines if two date objects occur on/in exactly the same instance of the subsequent date part function. Must be followed by a date part function (example: .day(), .month(), .year(), etc)

Returns

IDatePartComparer

public second(): IOrientation

Returns

IOrientation

public third(): IOrientation

Returns

IOrientation

public toObject(): IDateLiteral

Returns a date literal from a DateJS instance

Returns

IDateLiteral