This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ceylon.time { | |
today, date | |
} | |
import ceylon.time.base { | |
monthOf, Month, sunday, saturday | |
} | |
shared void run() { | |
value hoy = today(); | |
value quarters = [ for (m in (1..12).partition(3)) m.collect(monthOf) ]; |