Linux ip-172-26-2-223 5.4.0-1018-aws #18-Ubuntu SMP Wed Jun 24 01:15:00 UTC 2020 x86_64
Apache
: 172.26.2.223 | : 3.18.103.55
Cant Read [ /etc/named.conf ]
8.1.13
www
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
www /
server /
php /
80 /
src /
ext /
calendar /
[ HOME SHELL ]
Name
Size
Permission
Action
tests
[ DIR ]
drwxr-xr-x
CREDITS
72
B
-rw-r--r--
cal_unix.c
2.33
KB
-rw-r--r--
calendar.c
16.75
KB
-rw-r--r--
calendar.stub.php
1.17
KB
-rw-r--r--
calendar_arginfo.h
4.16
KB
-rw-r--r--
config.m4
357
B
-rw-r--r--
config.w32
269
B
-rw-r--r--
dow.c
1.38
KB
-rw-r--r--
easter.c
4.07
KB
-rw-r--r--
french.c
4.59
KB
-rw-r--r--
gregor.c
7.45
KB
-rw-r--r--
jewish.c
26.04
KB
-rw-r--r--
julian.c
7.85
KB
-rw-r--r--
php_calendar.h
746
B
-rw-r--r--
sdncal.h
4.1
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : sdncal.h
#ifndef SDNCAL_H #define SDNCAL_H /* * This code has been modified for use with PHP * by Shane Caraveo shane@caraveo.com * see below for more details * */ /* $selId: sdncal.h,v 2.0 1995/10/24 01:13:06 lees Exp $ * Copyright 1993-1995, Scott E. Lee, all rights reserved. * Permission granted to use, copy, modify, distribute and sell so long as * the above copyright and this permission statement are retained in all * copies. THERE IS NO WARRANTY - USE AT YOUR OWN RISK. */ /************************************************************************** * * This package defines a set of routines that convert calendar dates to * and from a serial day number (SDN). The SDN is a serial numbering of * days where SDN 1 is November 25, 4714 BC in the Gregorian calendar and * SDN 2447893 is January 1, 1990. This system of day numbering is * sometimes referred to as Julian days, but to avoid confusion with the * Julian calendar, it is referred to as serial day numbers here. The term * Julian days is also used to mean the number of days since the beginning * of the current year. * * The SDN can be used as an intermediate step in converting from one * calendar system to another (such as Gregorian to Jewish). It can also * be used for date computations such as easily comparing two dates, * determining the day of the week, finding the date of yesterday or * calculating the number of days between two dates. * * When using this software on 16 bit systems, be careful to store SDNs in * a long int, because it will not fit in the 16 bits that some systems * allocate to an int. * * For each calendar, there are two routines provided. One converts dates * in that calendar to SDN and the other converts SDN to calendar dates. * The routines are named SdnTo<CALENDAR>() and <CALENDAR>ToSdn(), where * <CALENDAR> is the name of the calendar system. * * SDN values less than one are not supported. If a conversion routine * returns an SDN of zero, this means that the date given is either invalid * or is outside the supported range for that calendar. * * At least some validity checks are performed on input dates. For * example, a negative month number will result in the return of zero for * the SDN. A returned SDN greater than one does not necessarily mean that * the input date was valid. To determine if the date is valid, convert it * to SDN, and if the SDN is greater than zero, convert it back to a date * and compare to the original. For example: * * int y1, m1, d1; * int y2, m2, d2; * zend_long sdn; * ... * sdn = GregorianToSdn(y1, m1, d1); * if (sdn > 0) { * SdnToGregorian(sdn, &y2, &m2, &d2); * if (y1 == y2 && m1 == m2 && d1 == d2) { * ... date is valid ... * } * } * **************************************************************************/ #include "php.h" /* Gregorian calendar conversions. */ void SdnToGregorian(zend_long sdn, int *pYear, int *pMonth, int *pDay); zend_long GregorianToSdn(int year, int month, int day); extern const char * const MonthNameShort[13]; extern const char * const MonthNameLong[13]; /* Julian calendar conversions. */ void SdnToJulian(zend_long sdn, int *pYear, int *pMonth, int *pDay); zend_long JulianToSdn(int year, int month, int day); /* Jewish calendar conversions. */ void SdnToJewish(zend_long sdn, int *pYear, int *pMonth, int *pDay); zend_long JewishToSdn(int year, int month, int day); extern const char * const JewishMonthName[14]; extern const char * const JewishMonthNameLeap[14]; extern const char * const JewishMonthHebName[14]; extern const char * const JewishMonthHebNameLeap[14]; extern const int monthsPerYear[19]; /* French republic calendar conversions. */ void SdnToFrench(zend_long sdn, int *pYear, int *pMonth, int *pDay); zend_long FrenchToSdn(int inputYear, int inputMonth, int inputDay); extern const char * const FrenchMonthName[14]; /* Islamic calendar conversions. */ /* Not implemented yet. */ /* Day of week conversion. 0=Sunday, 6=Saturday */ int DayOfWeek(zend_long sdn); extern const char * const DayNameShort[7]; extern const char * const DayNameLong[7]; #endif /* SDNCAL_H */
Close