diff options
author | Derick Rethans <github@derickrethans.nl> | 2015-09-22 08:41:56 +0100 |
---|---|---|
committer | Derick Rethans <github@derickrethans.nl> | 2015-09-22 08:41:56 +0100 |
commit | fab5cbab1ad77632b1478566e050c3eeb7a69ab1 (patch) | |
tree | 90c61e6668853df026e03de6b9bfb18e8272d5df /ext/date/lib/astro.c | |
parent | dcd569aad680327719d2187f0bea067185f5d4a1 (diff) | |
download | php-git-fab5cbab1ad77632b1478566e050c3eeb7a69ab1.tar.gz |
Bumb timelib version to 2015.01
Diffstat (limited to 'ext/date/lib/astro.c')
-rw-r--r-- | ext/date/lib/astro.c | 41 |
1 files changed, 23 insertions, 18 deletions
diff --git a/ext/date/lib/astro.c b/ext/date/lib/astro.c index 02b1783250..69ff6c2056 100644 --- a/ext/date/lib/astro.c +++ b/ext/date/lib/astro.c @@ -1,26 +1,31 @@ /* - +----------------------------------------------------------------------+ - | PHP Version 5 | - +----------------------------------------------------------------------+ - | Copyright (c) 1997-2015 The PHP Group | - +----------------------------------------------------------------------+ - | This source file is subject to version 3.01 of the PHP license, | - | that is bundled with this package in the file LICENSE, and is | - | available through the world-wide-web at the following url: | - | http://www.php.net/license/3_01.txt | - | If you did not receive a copy of the PHP license and are unable to | - | obtain it through the world-wide-web, please send a note to | - | license@php.net so we can mail you a copy immediately. | - +----------------------------------------------------------------------+ + * The MIT License (MIT) + * + * Copyright (c) 2015 Derick Rethans + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ +/* | Algorithms are taken from a public domain source by Paul | | Schlyter, who wrote this in December 1992 | - +----------------------------------------------------------------------+ - | Authors: Derick Rethans <derick@derickrethans.nl> | - +----------------------------------------------------------------------+ */ -/* $Id$ */ - #include <stdio.h> #include <math.h> #include "timelib.h" |