@js-joda/locale_fr 3.2.1 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,44 @@
1
+ export class Locale {
2
+ public static getAvailableLocales(): string[];
3
+
4
+ public constructor(language: string, country?: string, localeString?: string);
5
+
6
+ public language(): string;
7
+ public country(): string;
8
+ public localeString(): string;
9
+ public toString(): string;
10
+ public equals(other: any): boolean;
11
+ }
12
+
13
+ export namespace Locale {
14
+ const ENGLISH: Locale;
15
+ const US: Locale;
16
+ const UK: Locale;
17
+ const CANADA: Locale;
18
+ const FRENCH: Locale;
19
+ const FRANCE: Locale;
20
+ const GERMAN: Locale;
21
+ const GERMANY: Locale;
22
+ const KOREAN: Locale;
23
+ const JAPANESE: Locale;
24
+ const JAPAN: Locale;
25
+ }
26
+
27
+ import * as core from '@js-joda/core';
28
+
29
+ declare module '@js-joda/core' {
30
+ export interface DateTimeFormatter {
31
+ withLocale(locale: Locale): DateTimeFormatter;
32
+ locale(): Locale | null;
33
+ }
34
+
35
+ export interface DateTimeFormatterBuilder {
36
+ appendText(field: core.ChronoField, styleOrMap: core.TextStyle | Record<string | number, string>): DateTimeFormatterBuilder;
37
+ appendWeekField(field: string, count: number): DateTimeFormatterBuilder;
38
+ appendZoneText(textStyle: core.TextStyle): DateTimeFormatterBuilder;
39
+ appendLocalizedOffset(textStyle: core.TextStyle): DateTimeFormatterBuilder;
40
+ }
41
+ }
42
+
43
+ export const __esModule: true;
44
+ export as namespace JSJodaLocale;
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@js-joda/locale_fr",
3
- "version": "3.2.1+36.0.0",
3
+ "version": "4.1.0+36.0.0",
4
4
  "description": "prebuilt js-joda locale package for locales: fr.*",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/js-joda/js-joda-locale.git"
8
8
  },
9
9
  "main": "dist/index.js",
10
+ "typings": "dist/js-joda-locale.d.ts",
10
11
  "keywords": [
11
12
  "date",
12
13
  "time",