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.
15分刻みで時系列のリストを取得しようとしています。
例えば:
5:00 AM 5:15 AM 5:30 AM .... ... ..... 11:30 PM
Date start = .... int periods = 26 int incrementMinutes = 15 return (1..periods).collect { new Date(start.time + TimeUnit.MINUTES.toMillis(it * incrementMinutes) }