mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-16 19:55:12 +00:00
Add temporary permissions
This commit is contained in:
1 parent
24ff465679
commit
cdf8a4ce18
54 files changed
+1221
-152
No files matched your search
@@ -0,0 +1,17 @@
|
||||
import me.lucko.luckperms.utils.DateUtil;
|
||||
|
||||
public class DateTest {
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
try {
|
||||
System.out.println("" + DateUtil.parseDateDiff("1m", true));
|
||||
System.out.println(DateUtil.formatDateDiff(DateUtil.parseDateDiff("1 hour, 1 second", true)));
|
||||
|
||||
} catch (DateUtil.IllegalDateException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user