-
Notifications
You must be signed in to change notification settings - Fork 0
cPeriod::IsValid()
Rainer Stötter edited this page Apr 28, 2017
·
9 revisions
public Boolean libdatephp\cPeriod::IsValid()
- Namespace : libdatephp
- Class name: cPeriod
- This method is defined by libdatephp\cPeriod
IsValid() checks, whether the internal settings are valid
Example:
use libdatephp;
$p = new cPeriod( new cDate( 11, 23, 2016 ), new cDate( 11, 25, 2016 ) );
if ( $p->IsValid( ) ) do_something( );
Boolean true, if the internal settings of cPeriod are okay.
This wiki page is part of the documentation of the PHP class library libdatephp