code: public String Out()
  	{
  		if( periods == null )
  		{
  			// means we are in unresolved week days mode
  			return "Unresolved days : " + days.implode( "," );
  		}
  		String out = "";
  		for( int i = 0; i < periods.size(); i++ )
  		{
  			out += "[" + periods.get( i ).getFrom() + "->" + periods.get( i ).getTo() + "]<br>";
  		}
  		return out;
  	}
docs: print string