Skip to content

Documentation


Documentation / @blazetrails/activesupport / change

Function: change() ​

Call Signature ​

change(date, options): ZonedDateTime

Defined in: packages/activesupport/lib/time-ext.ts:286

Parameters ​

ParameterType
dateZonedDateTime
optionsChangeOptions

Returns ​

ZonedDateTime

Call Signature ​

change(date, options): Instant

Defined in: packages/activesupport/lib/time-ext.ts:290

Parameters ​

ParameterType
dateDate
optionsChangeOptions

Returns ​

Instant

Call Signature ​

change(date, options): Time

Defined in: packages/activesupport/lib/time-ext.ts:291

Parameters ​

ParameterType
dateTime
optionsChangeOptions

Returns ​

Time

Call Signature ​

change(date, options): Instant | ZonedDateTime

Defined in: packages/activesupport/lib/time-ext.ts:292

Parameters ​

ParameterType
dateDate | ZonedDateTime
optionsChangeOptions

Returns ​

Instant | ZonedDateTime