- // use the base 10 explicitly because otherwise the string "09" (the
- // leading zeroes are common in the date specifications) is not parsed
- // correctly as, according to the standard C rules, it is understood as an
- // octal number and '9' is not a valid octal digit!
- return !s.empty() && s.ToULong(number, 10);