private void NotifyHoursPropertyChanged(TimeInstant oldValue, TimeInstant newValue) { // Notify when changed, but also when hours is zero, as that is the starting value if (TimeInstant.HoursAreDifferent(oldValue, newValue) || newValue.Hours == 0) { NotifyPropertyChanged("Hours"); this.SetValue(TimeProperty, _value.ToDateTime()); } }