protected DateTimeData parse(String str) throws SchemaDateTimeException {
  DateTimeData date=new DateTimeData(str,this);
  int len=str.length();
  int end=getYearMonth(str,0,len,date);
  date.day=DAY;
  parseTimeZone(str,end,len,date);
  validateDateTime(date);
  saveUnnormalized(date);
  if (date.utc != 0 && date.utc != 'Z') {
    normalize(date);
  }
  date.position=0;
  return date;
}

protected DateTimeData parse ( String str ) throws SchemaDateTimeException { DateTimeData date = new DateTimeData ( str , this ) ; int len = str . length ( ) ; int end = getYearMonth ( str , 0 , len , date ) ; date . day = DAY ; parseTimeZone ( str , end , len , date ) ; validateDateTime ( date ) ; saveUnnormalized ( date ) ; if ( date . utc != 0 && date . utc != 'Z' ) { normalize ( date ) ; } date . position = 0 ; return date ; }
parses , validates and computes normalized version of gyearmonth object
