This commit is contained in:
坏黑
2018-05-07 14:43:57 +08:00
parent 7181c487f9
commit 6f34cbc2e0
152 changed files with 9256 additions and 9003 deletions

View File

@@ -1,36 +1,35 @@
package me.skymc.taboolib.timecycle;
import me.skymc.taboolib.other.DateUtils;
import org.bukkit.plugin.Plugin;
import me.skymc.taboolib.other.DateUtils;
public class TimeCycle {
private String name;
private Plugin plugin;
private long cycle;
public TimeCycle(String name, long cycle, Plugin plugin) {
this.name = name;
this.cycle = cycle;
this.plugin = plugin;
long millisHour = DateUtils.getTime(DateUtils.HOUR_OF_DAY) * 60L * 60L * 1000L;
long millisMinute = DateUtils.getTime(DateUtils.MINUTE) * 60L * 1000L;
long time = System.currentTimeMillis() - millisHour - millisMinute;
}
private String name;
private Plugin plugin;
private long cycle;
public TimeCycle(String name, long cycle, Plugin plugin) {
this.name = name;
this.cycle = cycle;
this.plugin = plugin;
long millisHour = DateUtils.getTime(DateUtils.HOUR_OF_DAY) * 60L * 60L * 1000L;
long millisMinute = DateUtils.getTime(DateUtils.MINUTE) * 60L * 1000L;
long time = System.currentTimeMillis() - millisHour - millisMinute;
}
public Plugin getPlugin() {
return plugin;
}
public String getName() {
return name;
}
public long getCycle() {
return cycle;
}
public Plugin getPlugin() {
return plugin;
}
public String getName() {
return name;
}
public long getCycle() {
return cycle;
}
}