Help us understand the problem. What is going on with this article?

from と to を指定して java.time.LocalDate の List を作る

More than 3 years have passed since last update.

var を避けるシリーズ.

import java.time.LocalDate

def dates(fromInclusive: LocalDate, toExclusive: LocalDate): Seq[LocalDate] = 
    Stream.iterate(fromInclusive)(_.plusDays(1)).takeWhile(_.compareTo(toExclusive) < 0)
Mura-Mi
Application Engineer / Financial Engineer in Tokyo.
caddi
製造業の受発注プラットフォーム「CADDi」を提供しています。 モノづくりに携わるすべての人が、本来持っている力を最大限に発揮できる社会を実現する。産業の常識を変える「新たな仕組み」をつくります。 「CADDi」は金属加工品のCAD・設計図の解析から複雑な物流を表現するUIまで幅広い開発をしており、常に開発環境に最新の技術をとり入れて、より良いプロダクトを作るように心がけております。
https://corp.caddi.jp/
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした