PageSourceSearch

https://mrmarine.co.nz/scripts/i18n/angular-locale_en-nz.js

js mrmarine.co.nz collected 2026-09-28 18:48:48 UTC 2,708 bytes, 143 lines download raw bytes

vendor: 2,708 bytes, lines 1-143
1'use strict';
2angular.module("ngLocale", [], ["$provide", function($provide) {
3var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
4function getDecimals(n) {
5  n = n + '';
6  var i = n.indexOf('.');
7  return (i == -1) ? 0 : n.length - i - 1;
8}
9
10function getVF(n, opt_precision) {
11  var v = opt_precision;
12
13  if (undefined === v) {
14    v = Math.min(getDecimals(n), 3);
15  }
16
17  var base = Math.pow(10, v);
18  var f = ((n * base) | 0) % base;
19  return {v: v, f: f};
20}
21
22$provide.value("$locale", {
23  "DATETIME_FORMATS": {
24    "AMPMS": [
25      "AM",
26      "PM"
27    ],
28    "DAY": [
29      "Sunday",
30      "Monday",
31      "Tuesday",
32      "Wednesday",
33      "Thursday",
34      "Friday",
35      "Saturday"
36    ],
37    "ERANAMES": [
38      "Before Christ",
39      "Anno Domini"
40    ],
41    "ERAS": [
42      "BC",
43      "AD"
44    ],
45    "FIRSTDAYOFWEEK": 6,
46    "MONTH": [
47      "January",
48      "February",
49      "March",
50      "April",
51      "May",
52      "June",
53      "July",
54      "August",
55      "September",
56      "October",
57      "November",
58      "December"
59    ],
60    "SHORTDAY": [
61      "Sun",
62      "Mon",
63      "Tue",
64      "Wed",
65      "Thu",
66      "Fri",
67      "Sat"
68    ],
69    "SHORTMONTH": [
70      "Jan",
71      "Feb",
72      "Mar",
73      "Apr",
74      "May",
75      "Jun",
76      "Jul",
77      "Aug",
78      "Sep",
79      "Oct",
80      "Nov",
81      "Dec"
82    ],
83    "STANDALONEMONTH": [
84      "January",
85      "February",
86      "March",
87      "April",
88      "May",
89      "June",
90      "July",
91      "August",
92      "September",
93      "October",
94      "November",
95      "December"
96    ],
97    "WEEKENDRANGE": [
98      5,
99      6
100    ],
101    "fullDate": "EEEE, d MMMM y",
102    "longDate": "d MMMM y",
103    "medium": "d/MM/y h:mm:ss a",
104    "mediumDate": "d/MM/y",
105    "mediumTime": "h:mm:ss a",
106    "short": "d/MM/yy h:mm a",
107    "shortDate": "d/MM/yy",
108    "shortTime": "h:mm a"
109  },
110  "NUMBER_FORMATS": {
111    "CURRENCY_SYM": "$",
112    "DECIMAL_SEP": ".",
113    "GROUP_SEP": ",",
114    "PATTERNS": [
115      {
116        "gSize": 3,
117        "lgSize": 3,
118        "maxFrac": 3,
119        "minFrac": 0,
120        "minInt": 1,
121        "negPre": "-",
122        "negSuf": "",
123        "posPre": "",
124        "posSuf": ""
125      },
126      {
127        "gSize": 3,
128        "lgSize": 3,
129        "maxFrac": 2,
130        "minFrac": 2,
131        "minInt": 1,
132        "negPre": "-\u00a4",
133        "negSuf": "",
134        "posPre": "\u00a4",
135        "posSuf": ""
136      }
137    ]
138  },
139  "id": "en-nz",
140  "localeID": "en_NZ",
141  "pluralCat": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  if (i == 1 && vf.v == 0) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}
142});
143}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.