value = $value; } /** * String representation. * * @since 0.1.0 */ public function to_string(): string { return $this->value; } /** * To date time zone. * * @since 0.1.0 */ public function to_date_time_zone(): DateTimeZone { return new DateTimeZone( $this->value ); } /** * Equals. * * @param self $other Parameter. * @since 0.1.0 */ public function equals( self $other ): bool { return $this->value === $other->value; } /** * String cast. * * @since 0.1.0 */ public function __toString(): string { return $this->value; } }