blueshoes php application framework and cms            core_date
[ class tree: core_date ] [ index: core_date ] [ all elements ]

Element index for package core_date

[ b ] [ c ] [ d ] [ e ] [ f ] [ g ] [ i ] [ m ] [ n ] [ r ] [ s ] [ t ] [ u ] [ w ] [ _ ]

_

$_Bs_String
in file Bs_DateUtil.class.php, variable Bs_DateUtil::$_Bs_String
    reference to the global pseudostatic Bs_String object.
$_Bs_String
in file Bs_Date.class.php, variable Bs_Date::$_Bs_String
    reference to the global pseudostatic Bs_String object.
$_Bs_Date
in file Bs_Date_PhpUnit.class.php, variable Bs_Date_PhpUnit::$_Bs_Date (subpackage: phpunit)
__Bs_Date_euDatetimeToUnixTimestamp
in file Bs_Date_PhpUnit.class.php, method Bs_Date_PhpUnit::__Bs_Date_euDatetimeToUnixTimestamp() (subpackage: phpunit)
__Bs_Date_euDatetimeToUsDatetime
in file Bs_Date_PhpUnit.class.php, method Bs_Date_PhpUnit::__Bs_Date_euDatetimeToUsDatetime() (subpackage: phpunit)
__Bs_Date_euDateToUnixTimestamp
in file Bs_Date_PhpUnit.class.php, method Bs_Date_PhpUnit::__Bs_Date_euDateToUnixTimestamp() (subpackage: phpunit)
__Bs_Date_formatUnixTimestamp
in file Bs_Date_PhpUnit.class.php, method Bs_Date_PhpUnit::__Bs_Date_formatUnixTimestamp() (subpackage: phpunit)
__Bs_Date_now
in file Bs_Date_PhpUnit.class.php, method Bs_Date_PhpUnit::__Bs_Date_now() (subpackage: phpunit)
__Bs_Date_sqlDatetimeToUsDatetime
in file Bs_Date_PhpUnit.class.php, method Bs_Date_PhpUnit::__Bs_Date_sqlDatetimeToUsDatetime() (subpackage: phpunit)
__Bs_Date_sqlTimestampToUnixTimestamp
in file Bs_Date_PhpUnit.class.php, method Bs_Date_PhpUnit::__Bs_Date_sqlTimestampToUnixTimestamp() (subpackage: phpunit)
__Bs_Date_timeToUnixTimestamp
in file Bs_Date_PhpUnit.class.php, method Bs_Date_PhpUnit::__Bs_Date_timeToUnixTimestamp() (subpackage: phpunit)
__Bs_Date_usDatetimeToEuDatetime
in file Bs_Date_PhpUnit.class.php, method Bs_Date_PhpUnit::__Bs_Date_usDatetimeToEuDatetime() (subpackage: phpunit)
__Bs_Date_usDateToUnixTimestamp
in file Bs_Date_PhpUnit.class.php, method Bs_Date_PhpUnit::__Bs_Date_usDateToUnixTimestamp() (subpackage: phpunit)
top

b

Bs_Date
in file Bs_Date.class.php, class Bs_Date
    This static class provides many useful date and time methods.
Bs_Date
in file Bs_Date.class.php, method Bs_Date::Bs_Date()
    constructor.
Bs_DateUtil
in file Bs_DateUtil.class.php, class Bs_DateUtil
Bs_DateUtil
in file Bs_DateUtil.class.php, method Bs_DateUtil::Bs_DateUtil()
BS_DATEUTIL_VERSION
in file Bs_DateUtil.class.php, constant BS_DATEUTIL_VERSION
BS_DATE_VERSION
in file Bs_Date.class.php, constant BS_DATE_VERSION
Bs_DateUtil.class.php
procedural page Bs_DateUtil.class.php
Bs_Date.class.php
procedural page Bs_Date.class.php
Bs_Date_PhpUnit
in file Bs_Date_PhpUnit.class.php, method Bs_Date_PhpUnit::Bs_Date_PhpUnit() (subpackage: phpunit)
Bs_Date_PhpUnit
in file Bs_Date_PhpUnit.class.php, class Bs_Date_PhpUnit (subpackage: phpunit)
    Defines context for running tests. Specific context - such as
Bs_Date_PhpUnit.class.php
procedural page Bs_Date_PhpUnit.class.php (subpackage: phpunit)
top

c

cleanDateArray
in file Bs_Date.class.php, method Bs_Date::cleanDateArray()
    takes a date array and cleans its elements.
top

d

dayOfWeek
in file Bs_DateUtil.class.php, method Bs_DateUtil::dayOfWeek()
    returns the day-of-week number for the given date. 0 means sunday.
top

e

euDatetimeToSqlDatetime
in file Bs_Date.class.php, method Bs_Date::euDatetimeToSqlDatetime()
    converts a eu datetime into a sql datetime
euDatetimeToUnixTimestamp
in file Bs_Date.class.php, method Bs_Date::euDatetimeToUnixTimestamp()
    converts a eu datetime into a unix timestamp. eg 19.2.2001 15:10:23 -> 982591823
euDatetimeToUsDatetime
in file Bs_Date.class.php, method Bs_Date::euDatetimeToUsDatetime()
    converts a eu datetime into a us datetime
euDateToArray
in file Bs_Date.class.php, method Bs_Date::euDateToArray()
    converts a eu date into an array.
euDateToSqlDate
in file Bs_Date.class.php, method Bs_Date::euDateToSqlDate()
    converts a eu date into a sql date
euDateToUnixTimestamp
in file Bs_Date.class.php, method Bs_Date::euDateToUnixTimestamp()
    converts a eu date into a unix timestamp. eg 19.2.2001 -> 982591823
euDateToUsDate
in file Bs_Date.class.php, method Bs_Date::euDateToUsDate()
    converts a eu date into a us date
euTimeToUnixTimestamp
in file Bs_Date.class.php, method Bs_Date::euTimeToUnixTimestamp()
    converts a eu time into a unix timestamp. 15:10:23 ->
top

f

formatArray
in file Bs_Date.class.php, method Bs_Date::formatArray()
    returns a date-array formatted as a date, time or datetime.
formatEuDatetime
in file Bs_Date.class.php, method Bs_Date::formatEuDatetime()
    returns a eu datetime formatted as any datetime, eg 27.8.1999 13:39:36 -> 1999/08/27 13:39:36 this method makes use of formatUnixTimestamp(), so watch out for the $style options.
formatSqlDatetime
in file Bs_Date.class.php, method Bs_Date::formatSqlDatetime()
    returns a sql datetime formatted as any datetime, eg 1999-08-27 13:39:36 -> 27.8.1999 13:39:36 this method makes use of formatUnixTimestamp(), so watch out for the $style options.
formatSqlTimestamp
in file Bs_Date.class.php, method Bs_Date::formatSqlTimestamp()
    returns a mysql timestamp formatted as a datetime, eg 19990827133936 -> 27.08.1999 13:39:36 this method makes use of formatUnixTimestamp(), so watch out for the $style options.
formatUnixTimestamp
in file Bs_Date.class.php, method Bs_Date::formatUnixTimestamp()
    returns a unix timestamp formatted as a datetime, eg 982591823 -> 19.02.2001 15:10:23.
formatUsDatetime
in file Bs_Date.class.php, method Bs_Date::formatUsDatetime()
    returns a us datetime formatted as any datetime, eg 1999/08/27 13:39:36 -> 27.08.1999 13:39:36 this method makes use of formatUnixTimestamp(), so watch out for the $style options.
top

g

getFormatForStyle
in file Bs_Date.class.php, method Bs_Date::getFormatForStyle()
    takes a style definition and returns the format for it. see below.
getSeparator
in file Bs_Date.class.php, method Bs_Date::getSeparator()
    tries to find the separator used in a date.
top

i

isInFuture
in file Bs_DateUtil.class.php, method Bs_DateUtil::isInFuture()
    tells if the given date(time) is in the future.
isInLeapYear
in file Bs_DateUtil.class.php, method Bs_DateUtil::isInLeapYear()
isInPast
in file Bs_DateUtil.class.php, method Bs_DateUtil::isInPast()
    tells if the given date(time) is in the past.
isLeapYear
in file Bs_DateUtil.class.php, method Bs_DateUtil::isLeapYear()
isValidDate
in file Bs_DateUtil.class.php, method Bs_DateUtil::isValidDate()
top

m

monthNumberToString
in file Bs_Date.class.php, method Bs_Date::monthNumberToString()
    converts a numerical month value to a string.
monthStringToNumber
in file Bs_Date.class.php, method Bs_Date::monthStringToNumber()
    converts a month like 'Feb' or 'February' into a numerical month value (2).
monthToInt
in file Bs_Date.class.php, method Bs_Date::monthToInt()
    use monthStringToNumber instead.
top

n

now
in file Bs_Date.class.php, method Bs_Date::now()
    returns the current datetime in us style.
top

r

top

s

setNow
in file Bs_DateUtil.class.php, method Bs_DateUtil::setNow()
sqlDatetimeToEuDatetime
in file Bs_Date.class.php, method Bs_Date::sqlDatetimeToEuDatetime()
    converts a sql datetime into a european datetime
sqlDatetimeToUnixTimestamp
in file Bs_Date.class.php, method Bs_Date::sqlDatetimeToUnixTimestamp()
    converts a sql datetime into a unix timestamp. eg 2001-02-19 15:10:23 -> 982591823
sqlDatetimeToUsDatetime
in file Bs_Date.class.php, method Bs_Date::sqlDatetimeToUsDatetime()
    converts a sql datetime into a us datetime eg '2001-02-28 20:54:23' -> '2001/02/28 20:54:23'
sqlDateToArray
in file Bs_Date.class.php, method Bs_Date::sqlDateToArray()
    converts a sql date into an array.
sqlDateToEuDate
in file Bs_Date.class.php, method Bs_Date::sqlDateToEuDate()
    converts a sql date into a eu date
sqlDateToUnixTimestamp
in file Bs_Date.class.php, method Bs_Date::sqlDateToUnixTimestamp()
    converts a sql date into a unix timestamp. eg 2001-02-19 ->
sqlDateToUsDate
in file Bs_Date.class.php, method Bs_Date::sqlDateToUsDate()
    converts a sql date into a us date
sqlTimestampToUnixTimestamp
in file Bs_Date.class.php, method Bs_Date::sqlTimestampToUnixTimestamp()
    converts an sql timestamp into a unix timestamp. eg 20010219151023 -> 982591823
sqlTimeToUnixTimestamp
in file Bs_Date.class.php, method Bs_Date::sqlTimeToUnixTimestamp()
    converts a sql time into a unix timestamp. 15:10:23 ->
top

t

timeToUnixTimestamp
in file Bs_Date.class.php, method Bs_Date::timeToUnixTimestamp()
    converts a time into a unix timestamp. 15:10:23 -> 984665423
top

u

usDatetimeToEuDatetime
in file Bs_Date.class.php, method Bs_Date::usDatetimeToEuDatetime()
    converts a us datetime into a european datetime
usDatetimeToSqlDatetime
in file Bs_Date.class.php, method Bs_Date::usDatetimeToSqlDatetime()
    converts a us datetime into a sql datetime
usDatetimeToUnixTimestamp
in file Bs_Date.class.php, method Bs_Date::usDatetimeToUnixTimestamp()
    converts a us datetime into a unix timestamp. eg 2001/02/19 15:10:23 -> 982591823
usDateToEuDate
in file Bs_Date.class.php, method Bs_Date::usDateToEuDate()
    converts a us date into a european date
usDateToSqlDate
in file Bs_Date.class.php, method Bs_Date::usDateToSqlDate()
    converts a us date into a sql date
usDateToUnixTimestamp
in file Bs_Date.class.php, method Bs_Date::usDateToUnixTimestamp()
    converts a us date into a unix timestamp. eg 2001/02/19 ->
usTimeToUnixTimestamp
in file Bs_Date.class.php, method Bs_Date::usTimeToUnixTimestamp()
    converts a us time into a unix timestamp. 15:10:23 ->
top

w

weekOfYear
in file Bs_DateUtil.class.php, method Bs_DateUtil::weekOfYear()
weekOfYear
in file Bs_DateUtil.class.php, method Bs_DateUtil::weekOfYear()
    Returns week of the year, first Sunday is first day of first week
top

Documentation generated on Mon, 29 Dec 2003 21:07:26 +0100 by phpDocumentor 1.2.3