I think that the accepted answer does not fully answer the question. This is really the same maximum value. And this is no coincidence. But why is this definition:
[TimeSpanValidator(MinValueString = "00:00:00", MaxValueString = "10675199.02:48:05.4775807")]
not something like:
[TimeSpanValidator(TimeSpan.Zero, TimeSpan.MaxValue)]
?
Well, just put it, it's because Attributes don't allow second-class definitions. They only allow compilation of time constants, because they are metadata compiled into an assembly.
No answer
source share