CWIS Developer Documentation
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 
)

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 ( )
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)
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 = "=" 
)
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: