replace deprecated week property with weekOfYear property on NSDateComponents.