void ValidateIsBetweenRegistrationAndNowOr28(ref DateTimeErrorString error, DateTimeSplitter splitter, DateTime?now = null) { splitter.ValidateIsAfter(Strings.ParticipantModel_Error_RegistrationDateTime, RegisteredAt, ref error); DateTime nowVal = now ?? DateTime.Now; if (nowVal >= Becomes28On) { splitter.ValidateIsBefore( string.Format(Strings.TimeInterval_28days, Becomes28On), Becomes28On, ref error); } else { splitter.ValidateIsBefore( Strings.DateTime_Now, nowVal, ref error); } }