Split out ConvertableTimestamp class
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 15 Sep 2016 22:46:01 +0000 (15:46 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Fri, 16 Sep 2016 03:00:09 +0000 (03:00 +0000)
commite10f272a05ebeb1630195bedec24688564c053fc
tree9519bbc0094f40665857c7d56a63a85dcd490a15
parente5999cc51d196a8b8f3ad403fdf1187197e8282d
Split out ConvertableTimestamp class

* Make TimestampException a regular exception.
* Make DatabaseBase use ConvertableTimestamp.

Change-Id: I849737c9c187e8e0c6e080887ec0656e034f80d2
autoload.php
includes/GlobalFunctions.php
includes/MWTimestamp.php
includes/db/Database.php
includes/exception/TimestampException.php [deleted file]
includes/libs/time/ConvertableTimestamp.php [new file with mode: 0644]
includes/libs/time/TimestampException.php [new file with mode: 0644]
includes/libs/time/defines.php [new file with mode: 0644]
tests/phpunit/includes/MWTimestampTest.php
tests/phpunit/includes/libs/time/ConvertableTimestampTest.php [new file with mode: 0644]