public static function getDay($day): string
	{
		if ($day instanceof DateTimeInterface) {
			$day = (int) $day->format('N');
		}
		if (!is_int($day)) {
			throw new InvalidArgumentException;
		}
		return self::$dayNames[self::$locale][$day];
	}