Settings
Settings contains static getters and setters that control Luxon's overall behavior. Luxon is a simple library with few options, but the ones it does have live here.
Static Member Summary
Static Public Members | ||
public static get |
Get the default time zone object to create DateTimes in. |
|
public static get |
Set the default time zone to create DateTimes in. |
|
public static set |
Set the default time zone to create DateTimes in. |
|
public static get |
Get the callback for returning the current timestamp. |
|
public static set |
Set the callback for returning the current timestamp. |
|
public static get |
Get whether Luxon will throw when it encounters invalid DateTimes, Durations, or Intervals |
|
public static set |
Set whether Luxon will throw when it encounters invalid DateTimes, Durations, or Intervals |