Implemented RequiredWhenAttribute and RequiredEmptyWhenAttribute
Using extension method to get other property value
DateOffsetAttribute now ignores time by default