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

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -

java - Getting corefrences with Standard corenlp package -

jQuery clickable div with working mailto link inside -