An4rchy Posted July 10, 2014 Posted July 10, 2014 (edited) Hello. This is just a simple class that contains a method which can be really helpful for scheduling events and other stuff in your server. You might wanna make a few changes before you use it. Also it's untested, but it should work fine(i took it from my old event engine where it worked). Here: http://pastebin.com/RG1eW7j5 HF. Edited July 10, 2014 by An4rchy 1
An4rchy Posted July 14, 2014 Author Posted July 14, 2014 where the *** have you been octapus? hehe im back since a couple of weeks
An4rchy Posted July 15, 2014 Author Posted July 15, 2014 could better explain the fucionabilidade ... This method schedules tasks just by adding times like 19:23; 21:31....
Fanky Posted July 16, 2014 Posted July 16, 2014 hehe im back since a couple of weeks glad to see that =]
lord_rex Posted July 17, 2014 Posted July 17, 2014 you're supposed to use "Date" class and some wrapper method to avoid code dupes
xdem Posted July 17, 2014 Posted July 17, 2014 you're supposed to use "Date" class and some wrapper method to avoid code dupes deprecated on java8 I think
lord_rex Posted July 17, 2014 Posted July 17, 2014 (edited) deprecated on java8 I think no, it isn't just few constructors, but however you may mean "new Date(string)", than you're free to use DateFormat.parse(string) instead :) Edited July 17, 2014 by lord_rex
xdem Posted July 17, 2014 Posted July 17, 2014 no, it isn't just few constructors, but however you may mean "new Date(string)", than you're free to use DateFormat.parse(string) instead :) Somewhere I read that it will eventually end up deprecated as more advanced date classes will come from oracle
lord_rex Posted July 17, 2014 Posted July 17, 2014 Somewhere I read that it will eventually end up deprecated as more advanced date classes will come from oracle thats really good, we will see
Java-man Posted July 18, 2014 Posted July 18, 2014 (edited) Somewhere I read that it will eventually end up deprecated as more advanced date classes will come from oracle New date time api is already in java 8 and it is really cool. So you can use it right now. http://docs.oracle.com/javase/8/docs/api/java/time/package-summary.html Edited July 18, 2014 by Java-man
lord_rex Posted July 18, 2014 Posted July 18, 2014 New date time api is already in java 8 and it is really cool. http://docs.oracle.com/javase/8/docs/api/java/time/package-summary.html yeap, it is cool, but anyway Oracle takes the backward compatibility seriously
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now