YMD.probableYearIndex

Attempt to deduce if a pre 100 year was lost due to padded zeros being taken off

struct YMD
int
probableYearIndex
const
(
Range
)
(
Range tokens
)
if (
isInputRange!Range &&
isNarrowString!(ElementType!(Range))
)

Parameters

tokens
Type: Range

a range of tokens

Return Value

Type: int

the index of the year token. If no probable result was found, then -1 is returned

Meta