public function test_constant_MIN()
 {
     $test = ZoneOffset::MIN();
     $this->doTestOffset($test, -18, 0, 0);
 }
Example #2
0
 public static function init()
 {
     self::$MIN = LocalDateTime::MIN()->atOffset(ZoneOffset::MAX());
     self::$MAX = LocalDateTime::MAX()->atOffset(ZoneOffset::MIN());
 }
 public function test_constant_MAX()
 {
     $this->check(OffsetDateTime::MAX(), Year::MAX_VALUE, 12, 31, 23, 59, 59, 999999999, ZoneOffset::MIN());
 }
 private static function OFFSET_MIN()
 {
     return ZoneOffset::MIN();
 }
 public function test_constant_MAX()
 {
     $this->check(OffsetTime::MAX(), 23, 59, 59, 999999999, ZoneOffset::MIN());
 }