Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

TimeDurationUtil Class Reference

Static Public Member Functions

static resolveNewTimeStampForDuration ($initialTimeStamp, $durationInterval, $durationSign, $durationType)
static getValueAndLabels ()
static getDateOnlyValueAndLabels ()

Data Fields

const DURATION_SIGN_POSITIVE = 'Positive'
const DURATION_SIGN_NEGATIVE = 'Negative'
const DURATION_TYPE_MINUTE = 'Minute'
const DURATION_TYPE_HOUR = 'Hour'
const DURATION_TYPE_DAY = 'Day'
const DURATION_TYPE_WEEK = 'Week'
const DURATION_TYPE_MONTH = 'Month'
const DURATION_TYPE_YEAR = 'Year'

Detailed Description

Helper functionality for working with time duration and calculating durations

Definition at line 40 of file TimeDurationUtil.php.


Member Function Documentation

static resolveNewTimeStampForDuration ( initialTimeStamp,
durationInterval,
durationSign,
durationType 
) [static]
Parameters:
integer $initialTimeStamp
integer $durationInterval
string $durationSign
string $durationType
Returns:
integer timestamp based on durationInterval, durationSign, and durationType

Definition at line 65 of file TimeDurationUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Tue Mar 19 07:11:05 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8