public static function set_version($package = 'project', \Datetime  $version) {
		if (Config::$version_storage == 'file') {
			return self::file_set_version($package, $version);
		} elseif (Config::$version_storage == 'database') {
			return self::database_set_version($package, $version);
		} else {
			throw new \Exception('Incorrect "version_storage" config setting');
		}
	}