BangleApps/typescript/types/locale.d.ts

22 lines
609 B
TypeScript
Raw Normal View History

2023-03-09 20:34:32 +00:00
declare module Locale {
type ShortBoolean = 0 | 1 | boolean;
type Locale = {
name: string,
2024-03-20 09:25:33 +00:00
/** @deprecated */
2023-03-09 20:34:32 +00:00
currencySym: string,
dow(date: Date, short?: ShortBoolean): string,
month(date: Date, short?: ShortBoolean): string,
number(n: number): string,
2024-03-20 09:25:33 +00:00
/** @deprecated */
2023-03-09 20:34:32 +00:00
currency(c: number): string,
distance(d: number): string,
speed(s: number): string,
temp(t: number): string,
translate(s: string): string,
date(date: Date, short?: ShortBoolean): string,
time(date: Date, short?: ShortBoolean): string,
meridian(date: Date): string,
}
}