datetime - Convert from java.util.date to JodaTime -


i want convert java.util.date jodatime carry out subtractions between dates. there concise way convert date jodatime?

java.util.date date = ... datetime datetime = new datetime(date); 

make sure date isn't null, though, otherwise acts new datetime() - really don't that.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -