@js-joda/locale_fr 4.3.0 → 4.7.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.
@@ -1,3 +1,5 @@
1
+ import * as core from '@js-joda/core';
2
+
1
3
  export class Locale {
2
4
  public static getAvailableLocales(): string[];
3
5
 
@@ -10,6 +12,23 @@ export class Locale {
10
12
  public equals(other: any): boolean;
11
13
  }
12
14
 
15
+ export class WeekFields {
16
+ public static ISO: WeekFields;
17
+ public static SUNDAY_START: WeekFields;
18
+ public static of(locale: Locale): WeekFields;
19
+ public static of(firstDayOfWeek: core.DayOfWeek, minDays: number): WeekFields;
20
+ public firstDayOfWeek(): core.DayOfWeek;
21
+ public minimalDaysInFirstWeek(): number;
22
+ public dayOfWeek(): core.TemporalField;
23
+ public weekOfMonth(): core.TemporalField;
24
+ public weekOfYear(): core.TemporalField;
25
+ public weekOfWeekBasedYear(): core.TemporalField;
26
+ public weekBasedYear(): core.TemporalField;
27
+ public equals(other: any): boolean;
28
+ public hashCode(): number;
29
+ public toString(): string;
30
+ }
31
+
13
32
  export namespace Locale {
14
33
  const ENGLISH: Locale;
15
34
  const US: Locale;
@@ -22,10 +41,16 @@ export namespace Locale {
22
41
  const KOREAN: Locale;
23
42
  const JAPANESE: Locale;
24
43
  const JAPAN: Locale;
44
+ const ITALIAN: Locale;
45
+ const ITALY: Locale;
46
+ const CHINESE: Locale;
47
+ const ROMANIAN: Locale;
48
+ const SWEDISH: Locale;
49
+ const SWEDEN: Locale;
50
+ const HINDI: Locale;
51
+ const RUSSIAN: Locale;
25
52
  }
26
53
 
27
- import * as core from '@js-joda/core';
28
-
29
54
  declare module '@js-joda/core' {
30
55
  namespace DateTimeFormatter {
31
56
  export const RFC_1123_DATE_TIME: DateTimeFormatter;
@@ -42,6 +67,7 @@ declare module '@js-joda/core' {
42
67
  appendZoneText(textStyle: core.TextStyle): DateTimeFormatterBuilder;
43
68
  appendLocalizedOffset(textStyle: core.TextStyle): DateTimeFormatterBuilder;
44
69
  }
70
+
45
71
  }
46
72
 
47
73
  export const __esModule: true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@js-joda/locale_fr",
3
- "version": "4.3.0",
3
+ "version": "4.7.0",
4
4
  "description": "prebuilt js-joda locale package for locales: fr.*",
5
5
  "repository": {
6
6
  "type": "git",
@@ -27,5 +27,5 @@
27
27
  "@js-joda/core": ">=3.2.0",
28
28
  "@js-joda/timezone": "^2.3.0"
29
29
  },
30
- "gitHead": "cdc181e107e04638303605e304e78eaba5864ea0"
30
+ "gitHead": "d07153c38a3d0b2b29b8185e3daaac69c624d4a9"
31
31
  }