@TestpublicvoidtestJodaTime(){DateTime dateTime =newDateTime();int day = dateTime.getDayOfMonth();int month = dateTime.getMonthOfYear();int year = dateTime.getYear();System.out.println("今天是"+ day +"号");System.out.println("现在是"+ month +"月");System.out.println("现在是"+ year +"年");}