Skip to content

Commit

Permalink
- 增加少量节日说法
Browse files Browse the repository at this point in the history
- 支持除夕晚上8点,扩展了Sequence的表达
  • Loading branch information
du00cs committed Aug 2, 2024
1 parent 628627a commit 0afb4e5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ package object time {
val end =
if (t2.end.isEmpty) None
else if (t1.end.isEmpty) t2.end
else t2.end.map(d => copy(thisGrain, t1.end.get, t2.end.get))
else t2.end.map(copy(thisGrain, t1.end.get, _))
val t = t2.copy(start = start, end = end)
thisGrain.finer() match {
case Some(g) => copyGrain(g, stopGrain, t1, t)
Expand Down

0 comments on commit 0afb4e5

Please sign in to comment.