|
iTx Technologies offre gratuitement
|
||
[Vue de la source] [Imprimer] [Statistique du projet]
(aucune description)
| Taille du fichier: | 967 lignes (31 kb) |
| Inclus ou requis: | 5 fois |
| Réferencé: | 0 fois |
| Inclus ou requis: | 2 fichiers modules/Currencies/Currency.php include/timezone/timezones.php |
TimeDate:: (44 methods):
__construct()
getUserTimeZone()
adjustmentForUserTimeZone()
getWeekDayName()
getMonthName()
getDateFromRules()
getDSTRange()
inDST()
get_regular_expression()
check_matching_format()
build_format()
swap_formats()
to_display_time()
to_display_date()
to_display_date_time()
to_display()
to_db()
get_javascript_validation()
to_db_date()
to_db_time()
to_db_date_time()
getUserEventOffset()
handle_offset()
use_old_gmt()
handle_offset_depricated()
handleOffsetMax()
get_gmt_db_datetime()
get_gmt_db_date()
convert_to_gmt_datetime()
merge_date_time()
merge_time_meridiem()
AMPMMenu()
get_hour_offset()
get_time_format()
get_date_format()
get_date_time_format()
get_db_date_time_format()
get_cal_date_format()
get_cal_time_format()
get_cal_date_time_format()
get_user_date_format()
get_user_time_format()
get_microtime_string()
get_default_midnight()
| __construct() X-Ref |
| Constructor |
| getUserTimeZone($user = null) X-Ref |
| function getUserTimeZone() Returns the current users timezone info or another user; $user user object for which you want to display, null for current user return: Array of timezone info |
| adjustmentForUserTimeZone($timezone_to_adjust = null) X-Ref |
| function adjustmentForUserTimeZone() this returns the adjustment for a user against the server time $timezone pass in a timezone to adjust for return: INT number of minutes to adjust a time by to get the appropriate time for the user |
| getWeekDayName($indexOfDay) X-Ref |
| function getWeekDayName($indexOfDay) Returns a days name param: INT(WEEKDAY INDEX) $indexOfDay return: STRING representing the given weekday |
| getMonthName($indexMonth) X-Ref |
| function getMonthName($indexMonth) Returns a Months Name param: INT(MONTH INDEX) $indexMonth return: STRING representation of the month |
| getDateFromRules($year, $startMonth, $startDate, $weekday, $startTime ) X-Ref |
| function getDateFromRules($year, $startMonth, $startDate, $weekday, $startTime ) Converts the rules for a timezones dst into a string representation of a date for the given year param: STRING(YEAR) $year param: INT(MONTH INDEX) $startMonth param: INT(DATE INDEX) $startDate param: INT(WEEKDAY INDEX) $weekday param: INT(START TIME IN SECONDS) $startTime return: unknown |
| getDSTRange($year, $zone) X-Ref |
| function getDSTRange($year, $zone) returns the start and end date for dst for a given timezone and year or false if that zone doesn't support dst param: STRING(Year e.g. 2005) $year param: ARRAY (TIME ZONE INFO) $zone return: ARRAY OF DATE REPRESENTING THE START AND END OF DST or FALSE if the zone doesn't support dst |
| inDST($date, $zone) X-Ref |
| Aucune description |
| get_regular_expression($format) X-Ref |
| Aucune description |
| check_matching_format($date, $format, $toformat = '') X-Ref |
| Aucune description |
| build_format($format) X-Ref |
| Build a true PHP format string from a user supplied format string param: string $format return: string |
| swap_formats($date, $startFormat, $endFormat) X-Ref |
| Aucune description |
| to_display_time($date, $meridiem = true, $offset = true) X-Ref |
| Aucune description |
| to_display_date($date, $use_offset = true) X-Ref |
| Aucune description |
| to_display_date_time($date, $meridiem = true, $offset = true, $user = null) X-Ref |
| Aucune description |
| to_display($date, $fromformat, $toformat) X-Ref |
| Aucune description |
| to_db($date) X-Ref |
| Aucune description |
| get_javascript_validation() X-Ref |
| to_db_date($date, $use_offset = true) X-Ref |
| Aucune description |
| to_db_time($date, $use_offset = true) X-Ref |
| Aucune description |
| to_db_date_time($date, $time) X-Ref |
| Aucune description |
| getUserEventOffset($user_in_dst, $event_in_dst) X-Ref |
| Aucune description |
| handle_offset($date, $format, $to = true, $user = null, $usetimezone = null) X-Ref |
| handles offset values for Timezones and DST param: $date string date/time formatted in user's selected param: $format string destination format value as passed to PHP's param: $to boolean param: $user object user object from which Timezone and DST param: $usetimezone string timezone name as it appears in timezones.php return: string date formatted and adjusted for TZ and DST |
| use_old_gmt() X-Ref |
| Aucune description |
| handle_offset_depricated($date, $format, $to = true) X-Ref |
| This function is depricated don't use it. It is only for backwards compatibility until the admin runs the upgrade script param: unknown_type $date param: unknown_type $format param: unknown_type $to return: unknown |
| handleOffsetMax($date, $format, $to = true) X-Ref |
| Aucune description |
| get_gmt_db_datetime() X-Ref |
| Aucune description |
| get_gmt_db_date() X-Ref |
| Aucune description |
| convert_to_gmt_datetime($olddatetime) X-Ref |
| Aucune description |
| merge_date_time($date, $time) X-Ref |
| Aucune description |
| merge_time_meridiem($date, $format, $mer) X-Ref |
| Aucune description |
| AMPMMenu($prefix, $date, $attrs = '') X-Ref |
| Aucune description |
| get_hour_offset($to = true, $timezone = null) X-Ref |
| Aucune description |
| get_time_format($meridiem = true, $user = null) X-Ref |
| Aucune description |
| get_date_format($user = null) X-Ref |
| Aucune description |
| get_date_time_format($meridiem = true, $user = null) X-Ref |
| Aucune description |
| get_db_date_time_format() X-Ref |
| Aucune description |
| get_cal_date_format() X-Ref |
| Aucune description |
| get_cal_time_format() X-Ref |
| Aucune description |
| get_cal_date_time_format() X-Ref |
| Aucune description |
| get_user_date_format() X-Ref |
| Aucune description |
| get_user_time_format() X-Ref |
| Aucune description |
| get_microtime_string() X-Ref |
| Aucune description |
| get_default_midnight($refresh = false) X-Ref |
| Aucune description |
|
|
|
|