#38 added a mechanism to identify day type.