1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | const Sasih_1 = require("../Sasih");
|
4 | class Pivot {
|
5 | constructor(year, month, dayOfMonth, pawukonDay, sasihDay, ngunaRatriDay, saka, sasih, isNampihSasih) {
|
6 | this.pawukonDay = pawukonDay;
|
7 | this.sasihDay = sasihDay;
|
8 | this.ngunaRatriDay = ngunaRatriDay;
|
9 | this.saka = saka;
|
10 | this.sasih = sasih;
|
11 | this.isNampihSasih = isNampihSasih;
|
12 | this.date = new Date(year, month, dayOfMonth);
|
13 | Object.freeze(this.date);
|
14 | Object.freeze(this);
|
15 | }
|
16 | static get PIVOT_1971() { return _C_VAL[0]; }
|
17 | static get PIVOT_2000() { return _C_VAL[1]; }
|
18 | }
|
19 | exports.Pivot = Pivot;
|
20 | const _C_VAL = [
|
21 | new Pivot(1971, 0, 27, 3, 0, 0, 1892, Sasih_1.Sasih.KAPITU, false),
|
22 | new Pivot(2000, 0, 18, 86, 12, 0, 1921, Sasih_1.Sasih.KAPITU, false),
|
23 | ];
|
24 | Object.freeze(_C_VAL);
|