Joda Time Interval between two dates including time zone
问题 I use JodaTime library for time operations. I have two dates: Date One: DateTime time_server = new DateTime(server_time_milisecs). withZone(DateTimeZone.forID("Europe/Zurich")); //+0100 Shows: 2013-01-27 13:44:42 Date two: DateTime time_local = new DateTime(DateTime.now()). withZone(DateTimeZone.getDefault()); //Have "Europe/Moscow" timezone +0400 Shows: 2013-01-27 16:41:47 I need to find real interval including timezone Interval interval = new Interval(time_local, time_server); Long.toString