code: public static TimeSpan toTimespan(Object o) throws PageException {
  	TimeSpan ts = toTimespan(o, null);
  	if (ts != null) return ts;
  
  	throw new CasterException(o, "timespan");
      }
docs: cast a Object to a TimeSpan Object (alias for toTimeSpan)
  
  @param o Object to cast
  @return casted TimeSpan Object
  @throws PageException