Debian Codegraph @

docs/regionDayMap.js.html

raw symbols SCIP
1 <!DOCTYPE html>
2
3 <html lang="en">
4 <head>
5 <meta charset="utf-8">
6 <meta name="viewport" content="width=device-width">
7 <title>weekstart Source: regionDayMap.js</title>
8
9 <!--[if lt IE 9]>
10 <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
11 <![endif]-->
12 <link type="text/css" rel="stylesheet" href="styles/sunlight.default.css">
13
14 <link type="text/css" rel="stylesheet" href="styles/site.spacelab.css">
15
16 </head>
17
18 <body>
19
20 <div class="navbar navbar-default navbar-fixed-top ">
21 <div class="container">
22 <div class="navbar-header">
23 <a class="navbar-brand" href="index.html">weekstart</a>
24 <button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#topNavigation">
25 <span class="icon-bar"></span>
26 <span class="icon-bar"></span>
27 <span class="icon-bar"></span>
28 </button>
29 </div>
30 <div class="navbar-collapse collapse" id="topNavigation">
31 <ul class="nav navbar-nav">
32
33 <li class="dropdown">
34 <a href="modules.list.html" class="dropdown-toggle" data-toggle="dropdown">Modules<b class="caret"></b></a>
35 <ul class="dropdown-menu ">
36 <li><a href="module-api.html">api</a></li><li><a href="module-full.html">full</a></li><li><a href="module-fullLangRegionMap.html">fullLangRegionMap</a></li><li><a href="module-langRegionMap.html">langRegionMap</a></li><li><a href="module-main.html">main</a></li><li><a href="module-regionDayMap.html">regionDayMap</a></li>
37 </ul>
38 </li>
39
40 </ul>
41
42 <div class="col-sm-3 col-md-3">
43 <form class="navbar-form" role="search">
44 <div class="input-group">
45 <input type="text" class="form-control" placeholder="Search" name="q" id="search-input">
46 <div class="input-group-btn">
47 <button class="btn btn-default" id="search-submit"><i class="glyphicon glyphicon-search"></i></button>
48 </div>
49 </div>
50 </form>
51 </div>
52
53 </div>
54
55 </div>
56 </div>
57
58
59 <div class="container" id="toc-content">
60 <div class="row">
61
62
63 <div class="col-md-12">
64
65 <div id="main">
66
67
68 <h1 class="page-title">Source: regionDayMap.js</h1>
69
70 <section>
71 <article>
72 <pre
73 class="sunlight-highlight-javascript linenums">/**
74 * Contains data about first day of week depending on country code.
75 *
76 * @module regionDayMap
77 */
78
79
80 /* eslint quote-props: ['error', 'as-needed', {'keywords': true, 'numbers': false, 'unnecessary': false}] */
81 /**
82 * Data about first day of week depending on country code.
83 * Based on:
84 * - [https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/territory_information.html](https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/territory_information.html)
85 * - [https://www.iso.org/iso-3166-country-codes.html](https://www.iso.org/iso-3166-country-codes.html)
86 */
87 const regionDayMap = {
88 // Sunday
89 AG: 0,
90 ATG: 0,
91 28: 0,
92 AS: 0,
93 ASM: 0,
94 16: 0,
95 BD: 0,
96 BGD: 0,
97 50: 0,
98 BR: 0,
99 BRA: 0,
100 76: 0,
101 BS: 0,
102 BHS: 0,
103 44: 0,
104 BT: 0,
105 BTN: 0,
106 64: 0,
107 BW: 0,
108 BWA: 0,
109 72: 0,
110 BZ: 0,
111 BLZ: 0,
112 84: 0,
113 CA: 0,
114 CAN: 0,
115 124: 0,
116 CO: 0,
117 COL: 0,
118 170: 0,
119 DM: 0,
120 DMA: 0,
121 212: 0,
122 DO: 0,
123 DOM: 0,
124 214: 0,
125 ET: 0,
126 ETH: 0,
127 231: 0,
128 GT: 0,
129 GTM: 0,
130 320: 0,
131 GU: 0,
132 GUM: 0,
133 316: 0,
134 HK: 0,
135 HKG: 0,
136 344: 0,
137 HN: 0,
138 HND: 0,
139 340: 0,
140 ID: 0,
141 IDN: 0,
142 360: 0,
143 IL: 0,
144 ISR: 0,
145 376: 0,
146 IN: 0,
147 IND: 0,
148 356: 0,
149 JM: 0,
150 JAM: 0,
151 388: 0,
152 JP: 0,
153 JPN: 0,
154 392: 0,
155 KE: 0,
156 KEN: 0,
157 404: 0,
158 KH: 0,
159 KHM: 0,
160 116: 0,
161 KR: 0,
162 KOR: 0,
163 410: 0,
164 LA: 0,
165 LA0: 0,
166 418: 0,
167 MH: 0,
168 MHL: 0,
169 584: 0,
170 MM: 0,
171 MMR: 0,
172 104: 0,
173 MO: 0,
174 MAC: 0,
175 446: 0,
176 MT: 0,
177 MLT: 0,
178 470: 0,
179 MX: 0,
180 MEX: 0,
181 484: 0,
182 MZ: 0,
183 MOZ: 0,
184 508: 0,
185 NI: 0,
186 NIC: 0,
187 558: 0,
188 NP: 0,
189 NPL: 0,
190 524: 0,
191 PA: 0,
192 PAN: 0,
193 591: 0,
194 PE: 0,
195 PER: 0,
196 604: 0,
197 PH: 0,
198 PHL: 0,
199 608: 0,
200 PK: 0,
201 PAK: 0,
202 586: 0,
203 PR: 0,
204 PRI: 0,
205 630: 0,
206 PT: 0,
207 PRT: 0,
208 620: 0,
209 PY: 0,
210 PRY: 0,
211 600: 0,
212 SA: 0,
213 SAU: 0,
214 682: 0,
215 SG: 0,
216 SGP: 0,
217 702: 0,
218 SV: 0,
219 SLV: 0,
220 222: 0,
221 TH: 0,
222 THA: 0,
223 764: 0,
224 TT: 0,
225 TTO: 0,
226 780: 0,
227 TW: 0,
228 TWN: 0,
229 158: 0,
230 UM: 0,
231 UMI: 0,
232 581: 0,
233 US: 0,
234 USA: 0,
235 840: 0,
236 VE: 0,
237 VEN: 0,
238 862: 0,
239 VI: 0,
240 VIR: 0,
241 850: 0,
242 WS: 0,
243 WSM: 0,
244 882: 0,
245 YE: 0,
246 YEM: 0,
247 887: 0,
248 ZA: 0,
249 ZAF: 0,
250 710: 0,
251 ZW: 0,
252 ZWE: 0,
253 716: 0,
254
255 // Saturday
256 AE: 6,
257 ARE: 6,
258 784: 6,
259 AF: 6,
260 AFG: 6,
261 4: 6,
262 BH: 6,
263 BHR: 6,
264 48: 6,
265 DJ: 6,
266 DJI: 6,
267 262: 6,
268 DZ: 6,
269 DZA: 6,
270 12: 6,
271 EG: 6,
272 EGY: 6,
273 818: 6,
274 IQ: 6,
275 IRQ: 6,
276 368: 6,
277 IR: 6,
278 IRN: 6,
279 364: 6,
280 JO: 6,
281 JOR: 6,
282 400: 6,
283 KW: 6,
284 KWT: 6,
285 414: 6,
286 LY: 6,
287 LBY: 6,
288 434: 6,
289 OM: 6,
290 OMN: 6,
291 512: 6,
292 QA: 6,
293 QAT: 6,
294 634: 6,
295 SD: 6,
296 SDN: 6,
297 729: 6,
298 SY: 6,
299 SYR: 6,
300 760: 6,
301
302 // Friday
303 MV: 5,
304 MDV: 5,
305 462: 5
306
307 // Else - Monday
308 };
309
310 export default regionDayMap;
311 </pre>
312 </article>
313 </section>
314
315
316
317
318
319 </div>
320 </div>
321
322 <div class="clearfix"></div>
323
324
325
326 </div>
327 </div>
328
329
330 <div class="modal fade" id="searchResults">
331 <div class="modal-dialog">
332 <div class="modal-content">
333 <div class="modal-header">
334 <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
335 <h4 class="modal-title">Search results</h4>
336 </div>
337 <div class="modal-body"></div>
338 <div class="modal-footer">
339 <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
340 </div>
341 </div><!-- /.modal-content -->
342 </div><!-- /.modal-dialog -->
343 </div>
344
345
346 <footer>
347
348
349 <span class="copyright">
350 Copyright (c) 2017-present Denis Sikuler
351 </span>
352
353 <span class="jsdoc-message">
354 Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a>
355
356 using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
357 </span>
358 </footer>
359
360 <script src="scripts/docstrap.lib.js"></script>
361 <script src="scripts/toc.js"></script>
362
363 <script type="text/javascript" src="scripts/fulltext-search-ui.js"></script>
364
365
366 <script>
367 $( function () {
368 $( "[id*='$']" ).each( function () {
369 var $this = $( this );
370
371 $this.attr( "id", $this.attr( "id" ).replace( "$", "__" ) );
372 } );
373
374 $( ".tutorial-section pre, .readme-section pre, pre.prettyprint.source" ).each( function () {
375 var $this = $( this );
376
377 var example = $this.find( "code" );
378 exampleText = example.html();
379 var lang = /{@lang (.*?)}/.exec( exampleText );
380 if ( lang && lang[1] ) {
381 exampleText = exampleText.replace( lang[0], "" );
382 example.html( exampleText );
383 lang = lang[1];
384 } else {
385 var langClassMatch = example.parent()[0].className.match(/lang\-(\S+)/);
386 lang = langClassMatch ? langClassMatch[1] : "javascript";
387 }
388
389 if ( lang ) {
390
391 $this
392 .addClass( "sunlight-highlight-" + lang )
393 .addClass( "linenums" )
394 .html( example.html() );
395
396 }
397 } );
398
399 Sunlight.highlightAll( {
400 lineNumbers : true,
401 showMenu : true,
402 enableDoclinks : true
403 } );
404
405 $.catchAnchorLinks( {
406 navbarOffset: 10
407 } );
408 $( "#toc" ).toc( {
409 anchorName : function ( i, heading, prefix ) {
410 return $( heading ).attr( "id" ) || ( prefix + i );
411 },
412 selectors : "#toc-content h1,#toc-content h2,#toc-content h3,#toc-content h4",
413 showAndHide : false,
414 smoothScrolling: true
415 } );
416
417 $( "#main span[id^='toc']" ).addClass( "toc-shim" );
418 $( '.dropdown-toggle' ).dropdown();
419
420 $( "table" ).each( function () {
421 var $this = $( this );
422 $this.addClass('table');
423 } );
424
425 } );
426 </script>
427
428
429
430 <!--Navigation and Symbol Display-->
431
432
433 <!--Google Analytics-->
434
435
436
437 <script type="text/javascript">
438 $(document).ready(function() {
439 SearcherDisplay.init();
440 });
441 </script>
442
443
444 </body>
445 </html>