public static function __set_state(array $period) { return new static($period['startDate'], $period['endDate']); }