PageSourceSearch

https://www.p-portal.go.jp/pps-web-biz/resources/app/javascript/common/calendar-jp.js

js p-portal.go.jp collected 2026-10-03 21:38:23 UTC 1,793 bytes, 49 lines download raw bytes

1/*=============================
2Datepicker・カレンダー
3=============================*/
4
5/* カレンダーフォーム */
6jQuery(function () {
7    $('#start-date-from').datepicker({
8        maxDate: '0d',
9        onClose: function (dateText, inst) {
10            $('#start-date-to').datepicker('option', 'minDate', dateText);
11        }
12    });
13    $('#start-date-to').datepicker({
14        maxDate: '0d',
15    });
16    $('#end-date-from').datepicker({
17        minDate: '0d',
18        onClose: function (dateText, inst) {
19            $('#end-date-to').datepicker('option', 'minDate', dateText);
20        }
21    });
22    $('#end-date-to').datepicker({
23        minDate: '0d',
24    });
25    $.datepicker.setDefaults(
26        $.datepicker.regional['jp'] = {
27            closeText: '閉じる',
28            prevText: '<前',
29            nextText: '次>',
30            currentText: '今日',
31            monthNames: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],
32            monthNamesShort: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],
33            dayNames: ['日曜日', '月曜日', '火曜日', '水曜日', '木曜日', '金曜日', '土曜日'],
34            dayNamesShort: ['日', '月', '火', '水', '木', '金', '土'],
35            dayNamesMin: ['日', '月', '火', '水', '木', '金', '土'],
36            weekHeader: '週',
37            dateFormat: 'yy/mm/dd',
38            changeYear: true,
39            changeMonth: true,
40            firstDay: 0,
41            isRTL: false,
42            showMonthAfterYear: true,
43            yearSuffix: 'å¹´',
44            numberOfMonths: 3,
45            showCurrentAtPos: 0,
46            stepMonths: 3,
47            maxDate: '9999/12/31',
48        });
49});

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.