Sage Intacct SDK for PHP
AbstractDateTime Class Reference
Inheritance diagram for AbstractDateTime:
AbstractDateTimeClass AbstractComparison ComparisonInterface ConditionInterface QueryInterface EqualToDateTime GreaterThanDateTime GreaterThanOrEqualToDateTime LessThanDateTime LessThanOrEqualToDateTime

Public Member Functions

 __construct (string $format=self::IA_DATE_TIME_FORMAT)
 
- Public Member Functions inherited from AbstractDateTimeClass
 getValue ()
 
 setValue ($value)
 
 getFormat ()
 
 setFormat ($format)
 
- Public Member Functions inherited from AbstractComparison
 getField ()
 
 setField (string $field)
 
 isNegate ()
 
 setNegate (bool $negate)
 
- Public Member Functions inherited from QueryInterface
 __toString ()
 

Additional Inherited Members

- Data Fields inherited from AbstractDateTimeClass
const IA_DATE_FORMAT = 'm/d/Y'
 
const IA_DATE_TIME_FORMAT = 'm/d/Y H:i:s'
 
- Protected Attributes inherited from AbstractDateTimeClass
 $value
 
 $format
 
- Protected Attributes inherited from AbstractComparison
 $field
 
 $negate = false
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( string  $format = self::IA_DATE_TIME_FORMAT)

AbstractDate constructor.

Parameters
string$format

Reimplemented from AbstractDateTimeClass.