@unicom-cloud/utils 0.1.15 → 0.1.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,13 @@
1
1
  import { LunarUtil as a } from "./LunarUtil.js";
2
- class h {
3
- _name;
4
- _solar;
5
- _jie;
6
- _qi;
7
- constructor(e, _) {
8
- let i = !1, r = !1, t, s;
9
- for (t = 0, s = a.JIE_QI.length; t < s; t++)
10
- if (a.JIE_QI[t] === e) {
11
- t % 2 == 0 ? r = !0 : i = !0;
2
+ class _ {
3
+ constructor(t, h) {
4
+ let i = !1, r = !1, e, s;
5
+ for (e = 0, s = a.JIE_QI.length; e < s; e++)
6
+ if (a.JIE_QI[e] === t) {
7
+ e % 2 == 0 ? r = !0 : i = !0;
12
8
  break;
13
9
  }
14
- this._name = e, this._solar = _, this._jie = i, this._qi = r;
10
+ this._name = t, this._solar = h, this._jie = i, this._qi = r;
15
11
  }
16
12
  getName() {
17
13
  return this._name;
@@ -19,11 +15,11 @@ class h {
19
15
  getSolar() {
20
16
  return this._solar;
21
17
  }
22
- setName(e) {
23
- this._name = e;
18
+ setName(t) {
19
+ this._name = t;
24
20
  }
25
- setSolar(e) {
26
- this._solar = e;
21
+ setSolar(t) {
22
+ this._solar = t;
27
23
  }
28
24
  isJie() {
29
25
  return this._jie;
@@ -36,5 +32,5 @@ class h {
36
32
  }
37
33
  }
38
34
  export {
39
- h as JieQi
35
+ _ as JieQi
40
36
  };