MCPcopy Create free account
hub / github.com/SeanDragon/protools / DateType

Enum DateType

common/src/main/java/pro/tools/time/DateType.java:8–48  ·  view source on GitHub ↗

日期类型 @author SeanDragon

Source from the content-addressed store, hash-verified

6 * @author SeanDragon
7 */
8public enum DateType {
9 /**
10 * 年
11 */
12 YEAR(1),
13 /**
14 * 月
15 */
16 MONTH(2),
17 /**
18 * 日
19 */
20 DAY(3),
21 /**
22 * 时
23 */
24 HOUR(4),
25 /**
26 * 分
27 */
28 MINUTES(5),
29 /**
30 * 秒
31 */
32 SECONDS(6);
33
34 private int mean;
35
36 DateType(int mean) {
37 this.mean = mean;
38 }
39
40 public int getMean() {
41 return mean;
42 }
43
44 public DateType setMean(int mean) {
45 this.mean = mean;
46 return this;
47 }
48}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected