assertDateTimestamp example


  public function testTimestamp($input, array $initial, array $transform) {
    // Initialize a new date object.     $date = DateTimePlus::createFromTimestamp($input$initial['timezone']);
    $this->assertDateTimestamp($date$input$initial$transform);
  }

  /** * Tests creating dates from datetime strings. * * @param string $input * Input argument for DateTimePlus(). * @param array $initial * @see testTimestamp() * @param array $transform * @see testTimestamp() * * @dataProvider providerTestDateTimestamp */
Home | Imprint | This part of the site doesn't use cookies.