@js-joda/locale_ru 4.15.3 → 5.0.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@js-joda/locale_ru",
3
- "version": "4.15.3",
3
+ "version": "5.0.1",
4
4
  "description": "prebuilt js-joda locale package for locales: ru.*",
5
5
  "repository": {
6
6
  "type": "git",
@@ -8,7 +8,6 @@
8
8
  },
9
9
  "main": "dist/index.js",
10
10
  "module": "dist/index.esm.js",
11
- "typings": "dist/js-joda-locale.d.ts",
12
11
  "keywords": [
13
12
  "date",
14
13
  "time",
@@ -25,11 +24,12 @@
25
24
  },
26
25
  "homepage": "https://js-joda.github.io/js-joda",
27
26
  "peerDependencies": {
28
- "@js-joda/core": ">=3.2.0",
29
- "@js-joda/timezone": "^2.3.0"
27
+ "@js-joda/core": ">=5.7.0",
28
+ "@js-joda/locale": ">=5.0.0",
29
+ "@js-joda/timezone": "^2.23.0"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public"
33
33
  },
34
- "gitHead": "de894726b34edb1596a821273e08e93b76096d23"
34
+ "gitHead": "6de5b2f17a2dfdb689c6da2901276b2eaf3a59f5"
35
35
  }
@@ -1,74 +0,0 @@
1
- import * as core from '@js-joda/core';
2
-
3
- export class Locale {
4
- public static getAvailableLocales(): string[];
5
-
6
- public constructor(language: string, country?: string, localeString?: string);
7
-
8
- public language(): string;
9
- public country(): string;
10
- public localeString(): string;
11
- public toString(): string;
12
- public equals(other: any): boolean;
13
- }
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
-
32
- export namespace Locale {
33
- const ENGLISH: Locale;
34
- const US: Locale;
35
- const UK: Locale;
36
- const CANADA: Locale;
37
- const FRENCH: Locale;
38
- const FRANCE: Locale;
39
- const GERMAN: Locale;
40
- const GERMANY: Locale;
41
- const KOREAN: Locale;
42
- const JAPANESE: Locale;
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;
52
- }
53
-
54
- declare module '@js-joda/core' {
55
- namespace DateTimeFormatter {
56
- export const RFC_1123_DATE_TIME: DateTimeFormatter;
57
- }
58
-
59
- export interface DateTimeFormatter {
60
- withLocale(locale: Locale): DateTimeFormatter;
61
- locale(): Locale | null;
62
- }
63
-
64
- export interface DateTimeFormatterBuilder {
65
- appendText(field: core.ChronoField, styleOrMap: core.TextStyle | Record<string | number, string>): DateTimeFormatterBuilder;
66
- appendWeekField(field: string, count: number): DateTimeFormatterBuilder;
67
- appendZoneText(textStyle: core.TextStyle): DateTimeFormatterBuilder;
68
- appendLocalizedOffset(textStyle: core.TextStyle): DateTimeFormatterBuilder;
69
- }
70
-
71
- }
72
-
73
- export const __esModule: true;
74
- export as namespace JSJodaLocale;