This file contains hidden or 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
void main() { | |
var now = new DateTime(2013, 1, 10); | |
var year = now.year; | |
var month = now.month; | |
DateTime firstDay = new DateTime(year, month, 1); | |
DateTime lastDay = new DateTime(year, month + 1, 0); | |
List<Day> monthDays = new List<Day>(); | |