private boolean _readDate ( ) { int endIndex = pos + 10 ; if ( endIndex <= len ) { _date = text . substring ( pos , endIndex ) ; pos += 10 ; return true ; } pos = len ; return false ; }
parse a date in the format yyyy - mm - dd