public function format($value, $params = null, $locale = null) {
		if (! isset($params['primary'])) {
			return $this->getFormatter($locale)->format($value);
		}
		
		if ($params['primary'] === 'day') {
			return $this->getFormatterDay($locale)->format($value);
		}
		
		if ($params['primary'] === 'time') {
			return $this->getFormatterTime($locale)->format($value);
		}
		
		return $this->getFormatter($locale)->format($value);
	}