Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Joda Time を使用して、2 つの LocalTime オブジェクト間のミリ秒数を調べるにはどうすればよいですか?
LocalTime 2 = 新しい LocalTime(2,0);
LocalTime 6 = 新しい LocalTime(6,0)
では、午前 2 時から午前 6 時までのミリ秒数は?
ありがとう
System.out.println(six.getMillisOfDay() - two.getMillisOfDay());