equal
deleted
inserted
replaced
23 |
23 |
24 public function testiso8601IntervalToMillis() { |
24 public function testiso8601IntervalToMillis() { |
25 $ms = Utils::iso8601IntervalToMillis("P1Y1M1DT1H1M1S"); |
25 $ms = Utils::iso8601IntervalToMillis("P1Y1M1DT1H1M1S"); |
26 $this->assertEquals(34277461000, $ms, "duration must be 3427746100"); |
26 $this->assertEquals(34277461000, $ms, "duration must be 3427746100"); |
27 } |
27 } |
|
28 |
|
29 public function testiso8601IntervalToMillisNull() { |
|
30 $ms = Utils::iso8601IntervalToMillis(null); |
|
31 $this->assertNull($ms, "duration must be null"); |
|
32 } |
|
33 |
28 } |
34 } |