/home/techb158/public_html/wp-content/plugins/wordpress-seo/src/promotions/domain
NameSizeModeActions
abstract-promotion.php10480644editdlrm
black-friday-promotion.php4240644editdlrm
promotion-interface.php1210644editdlrm
time-interval.php13810644editdlrm
Edit: /home/techb158/public_html/wp-content/plugins/wordpress-seo/src/promotions/domain/time-interval.php (1381B)
time_start = $time_start; $this->time_end = $time_end; } /** * Checks if the given time is within the interval. * * @param int $time The time to check. * * @return bool Whether the given time is within the interval. */ public function contains( int $time ): bool { return ( ( $time > $this->time_start ) && ( $time < $this->time_end ) ); } /** * Sets the interval astarting date. * * @param int $time_start The interval start time. * * @return void */ public function set_start_date( int $time_start ) { $this->time_start = $time_start; } /** * Sets the interval ending date. * * @param int $time_end The interval end time. * * @return void */ public function set_end_date( int $time_end ) { $this->time_end = $time_end; } }