我试图使用乔达时间,以便及时了解,其中每个点在其自己的本地时区的两个点之间的持续时间的持续时间。计算与乔达时间
E.g. :
DateTime ny = new DateTime(2011, 2, 2, 7, 0, 0, 0, DateTimeZone.forID("America/New_York"));
DateTime la = new DateTime(2011, 2, 3, 10, 15, 0, 0, DateTimeZone.forID("America/Los_Angeles"));
DateTime utc1 = ny.withZone(DateTimeZone.UTC);
DateTime utc2 = la.withZone(DateTimeZone.UTC);
Period period = new Period(utc1, utc2);
现在,我想知道,如果这是考虑到节约日光和闰年... 而且,使用“期间”正确的乔达 - 时间的方式来实现这一目标? 感谢;)