[ Index ] |
|
Code source de LifeType 1.2.4 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 112 lignes (5 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 1 fois |
Nécessite: | 0 fichiers |
Locale_Test:: (3 méthodes):
setUp()
testFormatDate()
testFormatDateGMT()
Classe: Locale_Test - X-Ref
\ingroup TestsetUp() X-Ref |
Pas de description |
testFormatDate() X-Ref |
test all the modifiers from the Locale::formatDate() method: <li>%a abbreviated weekday</li> <li>%A complete weekday</li> <li>%b abbreviated month</li> <li>%B long month</li> <li>%d day of the month, 2 digits with leading zero</li> <li>%j day of the month, numeric (without leading zero)</li> <li>%H hours, in 24-h format</li> <li>%I hours, in 12-h format (without leading zero)</li> <li>%p returns 'am' or 'pm'</li> <li>%P returns 'AM' or 'PM'</li> <li>%M minutes</li> <li>%m month number, from 00 to 12</li> <li>%S seconds</li> <li>%y 2-digit year representation</li> <li>%Y 4-digit year representation</li> <li>%O Difference to Greenwich time (GMT) in hours</li> <li>%% the '%' character </ul> (these have been added by myself and are therefore incompatible with php)<ul> <li>%T "_day_ of _month_", where the day is in ordinal form and 'month' is the name of the month</li> <li>%D cardinal representation of the day</li> |
testFormatDateGMT() X-Ref |
Tests that the Locale::testFormatDateGMT() method also behaves as expected |
Généré le : Mon Nov 26 21:04:15 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |