fixed typo
fixed getDay implementation (regarding DST)
added LogWriteOnDiskCallback/Args