case classYear(digits: Int, nMissingDigits: Int = 0, charSpan: Option[(Int, Int)] = None) extends Interval with Product with Serializable
A Year represents the interval from the first second of the year (inclusive) to the first second of the
next year (exclusive). The optional second parameter allows this to also represent decades (nMissingDigits=1),
centuries (nMissingDigits=2), etc.
A Year represents the interval from the first second of the year (inclusive) to the first second of the next year (exclusive). The optional second parameter allows this to also represent decades (nMissingDigits=1), centuries (nMissingDigits=2), etc.