Java Code Examples for org.joda.time.DateTime.toCalendar()

The following are Jave code examples for showing how to use toCalendar() of the org.joda.time.DateTime class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: WeiXing_xmu-2016-MrCode   File:   Source Code and License Vote up 2 votes
 * 还原回jdk的原生Calendar对象
 * @return
public static Calendar parseCalendar(DateTime dateTime) {
	return dateTime.toCalendar(Locale.getDefault());