CWIS Developer Documentation

- Home
- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | List of all members
Date Class Reference

## Public Member Functions
| __construct ($BeginDate, $EndDate=NULL, $Precision=NULL, $DebugLevel=0)
| Formatted ()
| PFormatted ($Format, $ReturnEndDate=FALSE)
| FormattedForSql ($ReturnEndDate=FALSE)
| FormattedISO8601 ()
| UseUTC ()
| UseLocalTime ()
| BeginDate ()
| EndDate ()
| Precision ($NewPrecision=NULL)
| SqlCondition ($FieldName, $EndFieldName=NULL, $Operator="=")
| FormattedPrecision ($Precision=NULL)

## Detailed Description

Definition at line 18 of file Date.php.

## Constructor & Destructor Documentation

Date::__construct | ( |  | $BeginDate,
|  |  | $EndDate = `NULL`,
|  |  | $Precision = `NULL`,
|  |  | $DebugLevel = `0`
| ) |  |

Definition at line 24 of file Date.php.

References DATEPRE_BEGINDAY, DATEPRE_BEGINMONTH, DATEPRE_BEGINYEAR, DATEPRE_CONTINUOUS, DATEPRE_COPYRIGHT, DATEPRE_ENDDAY, DATEPRE_ENDMONTH, DATEPRE_ENDYEAR, DATEPRE_INFERRED, FormattedPrecision(), and Precision().

## Member Function Documentation

Date::BeginDate | ( |  | ) |

Definition at line 506 of file Date.php.

References DATEPRE_BEGINMONTH, DATEPRE_BEGINYEAR, and Precision().

Date::EndDate | ( |  | ) |

Definition at line 539 of file Date.php.

References DATEPRE_ENDMONTH, DATEPRE_ENDYEAR, and Precision().

Date::Formatted | ( |  | ) |

Definition at line 338 of file Date.php.

References DATEPRE_BEGINDAY, DATEPRE_BEGINMONTH, DATEPRE_BEGINYEAR, DATEPRE_CONTINUOUS, DATEPRE_COPYRIGHT, DATEPRE_ENDDAY, DATEPRE_ENDMONTH, DATEPRE_ENDYEAR, DATEPRE_INFERRED, DATEPRE_SEPARATE, and Precision().

Date::FormattedForSql | ( |  | $ReturnEndDate = `FALSE` | ) |

Definition at line 441 of file Date.php.

References PFormatted().

Date::FormattedISO8601 | ( |  | ) |

Definition at line 447 of file Date.php.

References DATEPRE_BEGINDAY, DATEPRE_BEGINMONTH, DATEPRE_BEGINYEAR, and Precision().

Date::FormattedPrecision | ( |  | $Precision = `NULL` | ) |

Definition at line 710 of file Date.php.

References DATEPRE_BEGINDAY, DATEPRE_BEGINDECADE, DATEPRE_BEGINMONTH, DATEPRE_BEGINYEAR, DATEPRE_CONTINUOUS, DATEPRE_COPYRIGHT, DATEPRE_ENDDAY, DATEPRE_ENDDECADE, DATEPRE_ENDMONTH, DATEPRE_ENDYEAR, DATEPRE_INFERRED, and DATEPRE_SEPARATE.

Referenced by __construct().

Here is the caller graph for this function:

Date::PFormatted | ( |  | $Format,
|  |  | $ReturnEndDate = `FALSE`
| ) |  |

Definition at line 423 of file Date.php.

References DATEPRE_BEGINDAY, DATEPRE_BEGINMONTH, DATEPRE_BEGINYEAR, DATEPRE_ENDDAY, DATEPRE_ENDMONTH, DATEPRE_ENDYEAR, and Precision().

Referenced by FormattedForSql().

Here is the caller graph for this function:

Date::Precision | ( |  | $NewPrecision = `NULL` | ) |

Definition at line 573 of file Date.php.

Referenced by __construct(), BeginDate(), EndDate(), Formatted(), FormattedISO8601(), PFormatted(), and SqlCondition().

Here is the caller graph for this function:

Date::SqlCondition | ( |  | $FieldName,
|  |  | $EndFieldName = `NULL`,
|  |  | $Operator = `"="`
| ) |  |

Definition at line 580 of file Date.php.

References DATEPRE_BEGINDAY, DATEPRE_BEGINMONTH, DATEPRE_ENDDAY, DATEPRE_ENDMONTH, DATEPRE_ENDYEAR, and Precision().

Date::UseLocalTime | ( |  | ) |

Definition at line 492 of file Date.php.

Date::UseUTC | ( |  | ) |

Definition at line 478 of file Date.php.

The documentation for this class was generated from the following file:

- lib/AxisPHP/Date.php