summaryrefslogtreecommitdiff
path: root/date-fns/src/locale/index.js.flow
blob: 4998a2e26b2b23fb8b1a1145ab0cac817e7c0cc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
// @flow
// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it.

export type Locale = {
  code?: string,
  formatDistance?: (...args: Array<any>) => any,
  formatRelative?: (...args: Array<any>) => any,
  localize?: {
    ordinalNumber: (...args: Array<any>) => any,
    era: (...args: Array<any>) => any,
    quarter: (...args: Array<any>) => any,
    month: (...args: Array<any>) => any,
    day: (...args: Array<any>) => any,
    dayPeriod: (...args: Array<any>) => any,
  },
  formatLong?: {
    date: (...args: Array<any>) => any,
    time: (...args: Array<any>) => any,
    dateTime: (...args: Array<any>) => any,
  },
  match?: {
    ordinalNumber: (...args: Array<any>) => any,
    era: (...args: Array<any>) => any,
    quarter: (...args: Array<any>) => any,
    month: (...args: Array<any>) => any,
    day: (...args: Array<any>) => any,
    dayPeriod: (...args: Array<any>) => any,
  },
  options?: {
    weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6,
    firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7,
  },
}

declare module.exports: {
  af: Locale,
  ar: Locale,
  arDZ: Locale,
  arMA: Locale,
  arSA: Locale,
  az: Locale,
  be: Locale,
  bg: Locale,
  bn: Locale,
  ca: Locale,
  cs: Locale,
  cy: Locale,
  da: Locale,
  de: Locale,
  deAT: Locale,
  el: Locale,
  enAU: Locale,
  enCA: Locale,
  enGB: Locale,
  enIN: Locale,
  enNZ: Locale,
  enUS: Locale,
  enZA: Locale,
  eo: Locale,
  es: Locale,
  et: Locale,
  eu: Locale,
  faIR: Locale,
  fi: Locale,
  fil: Locale,
  fr: Locale,
  frCA: Locale,
  frCH: Locale,
  gd: Locale,
  gl: Locale,
  gu: Locale,
  he: Locale,
  hi: Locale,
  hr: Locale,
  ht: Locale,
  hu: Locale,
  hy: Locale,
  id: Locale,
  is: Locale,
  it: Locale,
  ja: Locale,
  ka: Locale,
  kk: Locale,
  kn: Locale,
  ko: Locale,
  lb: Locale,
  lt: Locale,
  lv: Locale,
  mk: Locale,
  mn: Locale,
  ms: Locale,
  mt: Locale,
  nb: Locale,
  nl: Locale,
  nlBE: Locale,
  nn: Locale,
  pl: Locale,
  pt: Locale,
  ptBR: Locale,
  ro: Locale,
  ru: Locale,
  sk: Locale,
  sl: Locale,
  sq: Locale,
  sr: Locale,
  srLatn: Locale,
  sv: Locale,
  ta: Locale,
  te: Locale,
  th: Locale,
  tr: Locale,
  ug: Locale,
  uk: Locale,
  uz: Locale,
  vi: Locale,
  zhCN: Locale,
  zhTW: Locale,
}