|
ILIAS
eassessment Revision 61809
|
Collaboration diagram for PHPExcel_Shared_Date:Static Public Member Functions | |
| static | setExcelCalendar ($baseDate) |
| Set the Excel calendar (Windows 1900 or Mac 1904) | |
| static | getExcelCalendar () |
| Return the Excel calendar (Windows 1900 or Mac 1904) | |
| static | ExcelToPHP ($dateValue=0) |
| Convert a date from Excel to PHP. | |
| static | ExcelToPHPObject ($dateValue=0) |
| Convert a date from Excel to a PHP Date/Time object. | |
| static | PHPToExcel ($dateValue=0) |
| Convert a date from PHP to Excel. | |
| static | FormattedPHPToExcel ($year, $month, $day, $hours=0, $minutes=0, $seconds=0) |
| FormattedPHPToExcel. | |
| static | isDateTime (PHPExcel_Cell $pCell) |
| Is a given cell a date/time? | |
| static | isDateTimeFormat (PHPExcel_Style_NumberFormat $pFormat) |
| Is a given number format a date/time? | |
| static | isDateTimeFormatCode ($pFormatCode= '') |
| Is a given number format code a date/time? | |
| static | stringToExcel ($dateValue= '') |
| Convert a date/time string to Excel time. | |
Data Fields | |
| const | CALENDAR_WINDOWS_1900 = 1900 |
| constants | |
| const | CALENDAR_MAC_1904 = 1904 |
Static Public Attributes | |
| static | $dateTimeObjectType = 'DateTime' |
Static Private Attributes | |
| static | $ExcelBaseDate = self::CALENDAR_WINDOWS_1900 |
| static | $possibleDateFormatCharacters = 'ymdHs' |
|
static |
Convert a date from Excel to PHP.
| long | $dateValue | Excel date/time value |
Definition at line 80 of file Date.php.
Referenced by PHPExcel_Calculation_DateTime\DATE(), PHPExcel_Calculation_DateTime\DATENOW(), PHPExcel_Calculation_DateTime\DATEVALUE(), PHPExcel_Calculation_DateTime\EDATE(), PHPExcel_Calculation_DateTime\EOMONTH(), ExcelToPHPObject(), PHPExcel_Calculation_DateTime\HOUROFDAY(), PHPExcel_Calculation_DateTime\MINUTEOFHOUR(), PHPExcel_Calculation_DateTime\SECONDOFMINUTE(), PHPExcel_Calculation_DateTime\TIME(), PHPExcel_Calculation_DateTime\TIMEVALUE(), and PHPExcel_Calculation_DateTime\WORKDAY().
Here is the caller graph for this function:
|
static |
Convert a date from Excel to a PHP Date/Time object.
| long | $dateValue | Excel date/time value |
Definition at line 116 of file Date.php.
References ExcelToPHP().
Referenced by PHPExcel_Calculation_DateTime\_adjustDateByMonths(), PHPExcel_Calculation_Financial\_coupFirstPeriodDate(), PHPExcel_Calculation_DateTime\DATE(), PHPExcel_Calculation_DateTime\DATEDIF(), PHPExcel_Calculation_DateTime\DATENOW(), PHPExcel_Calculation_DateTime\DAYOFMONTH(), PHPExcel_Calculation_DateTime\DAYOFWEEK(), PHPExcel_Calculation_DateTime\DAYS360(), PHPExcel_Calculation_DateTime\MONTHOFYEAR(), PHPExcel_Style_NumberFormat\toFormattedString(), PHPExcel_Calculation_DateTime\WEEKOFYEAR(), PHPExcel_Calculation_DateTime\WORKDAY(), and PHPExcel_Calculation_DateTime\YEAR().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
FormattedPHPToExcel.
| long | $year | |
| long | $month | |
| long | $day | |
| long | $hours | |
| long | $minutes | |
| long | $seconds |
Definition at line 168 of file Date.php.
Referenced by PHPExcel_Calculation_DateTime\DATE(), PHPExcel_Calculation_DateTime\DATEVALUE(), PHPExcel_Reader_OOCalc\loadIntoExisting(), PHPToExcel(), PHPExcel_Calculation_DateTime\TIME(), and PHPExcel_Calculation_DateTime\TIMEVALUE().
Here is the caller graph for this function:
|
static |
Return the Excel calendar (Windows 1900 or Mac 1904)
Definition at line 69 of file Date.php.
References $ExcelBaseDate.
Referenced by PHPExcel_Writer_Excel2007_Workbook\_writeWorkbookPr(), PHPExcel_Calculation_DateTime\DATE(), and PHPExcel_Calculation_DateTime\TIME().
Here is the caller graph for this function:
|
static |
Is a given cell a date/time?
| PHPExcel_Cell | $pCell |
Definition at line 207 of file Date.php.
References PHPExcel_Cell\getCoordinate(), PHPExcel_Cell\getParent(), and isDateTimeFormat().
Here is the call graph for this function:
|
static |
Is a given number format a date/time?
| PHPExcel_Style_NumberFormat | $pFormat |
Definition at line 218 of file Date.php.
References PHPExcel_Style_NumberFormat\getFormatCode(), and isDateTimeFormatCode().
Referenced by isDateTime().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Is a given number format code a date/time?
| string | $pFormatCode |
Definition at line 231 of file Date.php.
References PHPExcel_Style_NumberFormat\FORMAT_DATE_DATETIME, PHPExcel_Style_NumberFormat\FORMAT_DATE_DDMMYYYY, PHPExcel_Style_NumberFormat\FORMAT_DATE_DMMINUS, PHPExcel_Style_NumberFormat\FORMAT_DATE_DMYMINUS, PHPExcel_Style_NumberFormat\FORMAT_DATE_DMYSLASH, PHPExcel_Style_NumberFormat\FORMAT_DATE_MYMINUS, PHPExcel_Style_NumberFormat\FORMAT_DATE_TIME1, PHPExcel_Style_NumberFormat\FORMAT_DATE_TIME2, PHPExcel_Style_NumberFormat\FORMAT_DATE_TIME3, PHPExcel_Style_NumberFormat\FORMAT_DATE_TIME4, PHPExcel_Style_NumberFormat\FORMAT_DATE_TIME5, PHPExcel_Style_NumberFormat\FORMAT_DATE_TIME6, PHPExcel_Style_NumberFormat\FORMAT_DATE_TIME7, PHPExcel_Style_NumberFormat\FORMAT_DATE_TIME8, PHPExcel_Style_NumberFormat\FORMAT_DATE_XLSX14, PHPExcel_Style_NumberFormat\FORMAT_DATE_XLSX15, PHPExcel_Style_NumberFormat\FORMAT_DATE_XLSX16, PHPExcel_Style_NumberFormat\FORMAT_DATE_XLSX17, PHPExcel_Style_NumberFormat\FORMAT_DATE_XLSX22, PHPExcel_Style_NumberFormat\FORMAT_DATE_YYYYMMDD, PHPExcel_Style_NumberFormat\FORMAT_DATE_YYYYMMDD2, and PHPExcel_Style_NumberFormat\FORMAT_DATE_YYYYMMDDSLASH.
Referenced by isDateTimeFormat(), and PHPExcel_Calculation_TextData\TEXTFORMAT().
Here is the caller graph for this function:
|
static |
Convert a date from PHP to Excel.
| mixed | $dateValue | PHP serialized date/time or date object |
Definition at line 138 of file Date.php.
References FormattedPHPToExcel().
Referenced by PHPExcel_Calculation_Financial\_coupFirstPeriodDate(), PHPExcel_Calculation_DateTime\_getDateValue(), PHPExcel_Calculation_DateTime\DATENOW(), PHPExcel_Calculation_DateTime\DATETIMENOW(), PHPExcel_Calculation_DateTime\EDATE(), PHPExcel_Calculation_DateTime\EOMONTH(), PHPExcel_Reader_OOCalc\loadIntoExisting(), and PHPExcel_Reader_Excel2003XML\loadIntoExisting().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Set the Excel calendar (Windows 1900 or Mac 1904)
| integer | $baseDate | Excel base date |
Definition at line 54 of file Date.php.
Referenced by PHPExcel_Reader_Excel5\_readDateMode(), and PHPExcel_Reader_Excel2007\load().
Here is the caller graph for this function:
|
static |
Convert a date/time string to Excel time.
| string | $dateValue | Examples: '2009-12-31', '2009-12-31 15:59', '2009-12-31 15:59:10' |
Definition at line 291 of file Date.php.
References PHPExcel_Calculation_DateTime\DATEVALUE(), PHPExcel_Calculation_DateTime\TIMEVALUE(), and PHPExcel_Calculation_Functions\VALUE().
Referenced by PHPExcel_Cell_AdvancedValueBinder\bindValue().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 45 of file Date.php.
Referenced by PHPExcel_Calculation_DateTime\_getDateValue().
|
staticprivate |
Definition at line 43 of file Date.php.
Referenced by getExcelCalendar().
|
staticprivate |
| const PHPExcel_Shared_Date::CALENDAR_MAC_1904 = 1904 |
Definition at line 41 of file Date.php.
Referenced by PHPExcel_Reader_Excel5\_readDateMode(), PHPExcel_Writer_Excel2007_Workbook\_writeWorkbookPr(), and PHPExcel_Reader_Excel2007\load().
| const PHPExcel_Shared_Date::CALENDAR_WINDOWS_1900 = 1900 |
constants
Definition at line 40 of file Date.php.
Referenced by PHPExcel_Reader_Excel5\_readDateMode(), PHPExcel_Reader_Excel2007\load(), and PHPExcel_Calculation_DateTime\TIME().