summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/SemanticMediaWiki/src/DataValues/Time/CalendarModel.php
blob: 8ac24544697bb4b8ccd47c1e23ed2da84fee7d3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php

namespace SMW\DataValues\Time;

/**
 * It is assumed that the changeover from the Julian calendar to the Gregorian
 * calendar occurred in October of 1582.
 *
 * For dates on or before 4 October 1582, the Julian calendar is used; for dates
 * on or after 15 October 1582, the Gregorian calendar is used.
 *
 * @license GNU GPL v2+
 * @since 2.5
 *
 * @author mwjames
 */
interface CalendarModel {

	/**
	 * Gregorian calendar
	 */
	const CM_GREGORIAN = 1;

	/**
	 * Julian calendar
	 */
	const CM_JULIAN = 2;

}