code: public static DateTime toDate(String str, TimeZone tz) throws PageException {
  	return DateCaster.toDateAdvanced(str, tz);
      }
docs: cast a Object to a DateTime Object
  
  @param str String to cast
  @param tz
  @return casted DateTime Object
  @throws PageException