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.
私はたくさんの日付を持っています、そして私はそれらの平均を見つけたいです。
System.out.println(Long.MAX_VALUE / System.currentTimeMillis());
出力:
6892653
これはあなたの両方の質問に答えると思います。各エポック値を1000*60 * 60 * 24で割ることもできますが、その生の商のサイズを考えると、それでもおそらくやり過ぎです。