Skip to content

@loktin/sdk / index / windowInTimeZone

Function: windowInTimeZone() ​

windowInTimeZone(window, options?): FormattedWindow

Defined in: @loktin/sdk/dist/time.d.ts:27

Formats a window, such as a Spend & Save withdrawal window, in a time zone with Intl.DateTimeFormat (K11). It uses the runtime's time zone data, and the SDK bundles none.

Parameters ​

window ​

TimeWindow

options? ​

TimeZoneOptions

Returns ​

FormattedWindow

Built on Stellar