Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: dfddfeaf27
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (12 sloc) 0.335 kb
<?php
namespace FreeAgent\Bitter\UnitOfTime;
/**
* @author Jérémy Romey <jeremy@free-agent.fr>
*/
class Month extends AbstractUnitOfTime implements UnitOfTimeInterface
{
public function getDateTimeFormated()
{
return sprintf('%s-%s', $this->getDateTime()->format('Y'), $this->getDateTime()->format('m'));
}
}
Jump to Line
Something went wrong with that request. Please try again.