Jump to content

12:00;14:25,23:12 Task Scheduler


Recommended Posts

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 by An4rchy
  • Upvote 1
Link to comment
Share on other sites

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 by lord_rex
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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 by Java-man
Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...