implementation of day of week as enumerable

implementation for #322