DateTime today = DateTime.today(); DateTime nextWeek = today.plusDays(7); import hirondelle.date4j.DateTime; public class DateExample { public static void main(String[] args) { DateTime today = DateTime.today(); DateTime nextWeek = today.plusDays(7); System.out.println("Today: " + today); System.out.println("Next week: " + nextWeek); } }


上一篇:
下一篇:
切换中文