summaryrefslogtreecommitdiff
path: root/app/Date.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Date.php')
-rw-r--r--app/Date.php30
1 files changed, 5 insertions, 25 deletions
diff --git a/app/Date.php b/app/Date.php
index 4b471de2e6..f5915f7b27 100644
--- a/app/Date.php
+++ b/app/Date.php
@@ -1,6 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
-
/**
* webtrees: online genealogy
* Copyright (C) 2015 webtrees development team
@@ -15,26 +13,7 @@ namespace Fisharebest\Webtrees;
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-
-// Classes for Gedcom Date/Calendar functionality.
-//
-//
-// webtrees: online genealogy
-// Copyright (C) 2014 Greg Roach
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License
-// along with this program; if not, write to the Free Software
-// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+namespace Fisharebest\Webtrees;
use Fisharebest\ExtCalendar\GregorianCalendar;
use Fisharebest\Webtrees\Date\CalendarDate;
@@ -47,12 +26,13 @@ use Fisharebest\Webtrees\Date\JulianDate;
use Fisharebest\Webtrees\Date\RomanDate;
/**
- * Class Date - a representation of GEDCOM dates and date ranges
- * NOTE: Since different calendars start their days at different times, (civil
+ * A representation of GEDCOM dates and date ranges.
+ *
+ * Since different calendars start their days at different times, (civil
* midnight, solar midnight, sunset, sunrise, etc.), we convert on the basis of
* midday.
*
- * NOTE: We assume that years start on the first day of the first month. Where
+ * We assume that years start on the first day of the first month. Where
* this is not the case (e.g. England prior to 1752), we need to use modified
* years or the OS/NS notation "4 FEB 1750/51".
*/