-
Notifications
You must be signed in to change notification settings - Fork 236
/
commonDateFormats.dart
53 lines (53 loc) · 1.34 KB
/
commonDateFormats.dart
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
List<String> getCommonDateFormats() {
return [
"yyyy-MM-dd'T'HH:mm:ss",
"MM/dd/yyyy HH:mm:ss",
"dd.MM.yyyy HH:mm:ss",
"yyyyMMdd'T'HHmmss",
"yyyy/MM/dd HH:mm:ss",
"dd-MM-yyyy HH:mm:ss",
"MM.dd.yyyy HH:mm:ss",
"yyyyMMdd'T'HH:mm:ss",
"yyyy-MM-dd HH:mm:ss",
"dd/MM/yyyy HH:mm",
"yyyy/MM/dd",
"MM/dd/yyyy",
"dd.MM.yyyy",
"yyyyMMdd",
"yyyy-MM-dd",
"dd/MM/yyyy",
"MM.dd.yyyy",
"dd-MM-yyyy",
"MMM dd, yyyy HH:mm:ss",
"MMM dd, yyyy",
"EEEE, dd MMMM yyyy HH:mm:ss",
"EEEE, dd MMMM yyyy",
"HH:mm:ss dd/MM/yyyy",
"HH:mm:ss yyyy-MM-dd",
"HH:mm:ss MM/dd/yyyy",
"HH:mm:ss dd.MM.yyyy",
"HHmmss yyyyMMdd",
"HH:mm:ss yyyy/MM/dd",
"HH:mm:ss dd-MM-yyyy",
"HH:mm:ss MM.dd.yyyy",
"HH:mm:ss dd/MM/yyyy",
"HH:mm:ss MM.dd.yyyy",
"HH:mm:ss dd-MM-yyyy",
"HH:mm:ss MMM dd, yyyy",
"HH:mm:ss EEEE, dd MMMM yyyy",
"HH:mm:ss dd/MM/yyyy",
"HH:mm:ss MM.dd.yyyy",
"HH:mm:ss dd-MM-yyyy",
"HH:mm:ss MMM dd, yyyy",
"HH:mm:ss EEEE, dd MMMM yyyy",
"yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",
"yyyy-MM-dd'T'HH:mm:ss.S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