2017 © Pedro Peláez
 

library php-edtf

A library for getting information about EDTF formatted strings.

image

computerminds/php-edtf

A library for getting information about EDTF formatted strings.

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 3 % Grown

The README.md

php-EDTF

Build Status, (*1)

Usage

Use the factory to get instances of EDTFInfo:, (*2)

$factory = new \ComputerMinds\EDTF\EDTFInfoFactory();
$dateInfo = $factory->create('1990-01');

Then you can call the various methods on the instance., (*3)

$valid = $dateInfo->isValid();
if ($valid) {
  $min = $dateInfo->getMin();
  $max = $dateInfo->getMax();
  // $min and $max are just standard PHP \DateTime instances.
  print $min->format('c');
}

The Versions

19/07 2016

dev-master

9999999-dev

A library for getting information about EDTF formatted strings.

  Sources   Download

MIT

The Requires

 

The Development Requires

28/06 2016

0.2.2

0.2.2.0

A library for getting information about EDTF formatted strings.

  Sources   Download

MIT

The Requires

 

The Development Requires

23/06 2016

0.2

0.2.0.0

A library for getting information about EDTF formatted strings.

  Sources   Download

MIT

The Requires

 

The Development Requires

23/06 2016

0.2.1

0.2.1.0

A library for getting information about EDTF formatted strings.

  Sources   Download

MIT

The Requires

 

The Development Requires

22/06 2016

0.1

0.1.0.0

A library for getting information about EDTF formatted strings.

  Sources   Download

MIT

The Requires

 

The Development Requires