Commit Graph

2439 Commits

Author SHA1 Message Date
Eriksen Costa
1da1b80169 [Locale] updated docblocks for StubCollator 2011-03-08 16:06:26 -03:00
Eriksen Costa
310d7eadba [Locale] updated docblocks 2011-03-08 16:06:10 -03:00
Eriksen Costa
0be12d7a89 [Locale] skip test if intl extension is not loaded 2011-03-07 03:19:47 -03:00
Eriksen Costa
33c37085da [Locale] moved static constructor 2011-03-07 03:07:19 -03:00
Eriksen Costa
1e2fa773c2 [Locale] renamed method 2011-03-07 03:07:18 -03:00
Eriksen Costa
8825dc8166 [Locale] renamed private method name and variable method with better names 2011-03-07 03:07:18 -03:00
Eriksen Costa
78485356a9 [Locale] code conventions changes (static keyword before visibility keyword) 2011-03-07 03:07:18 -03:00
Eriksen Costa
d8e35a2f5c [Locale] added tests to document behavior not implemented by StubIntlDateFormatter::parse() 2011-03-07 03:07:18 -03:00
Eriksen Costa
0a577e6fce [Locale] added more tests to time zone parsing with AM/PM markers 2011-03-07 03:07:17 -03:00
Eriksen Costa
d2df09f744 [Locale] refactored time zone support 2011-03-07 03:07:12 -03:00
Igor Wiedler
2c65c7dab6 [Locale] use the sort flag in StubCollator::asort() 2011-03-02 17:39:30 +01:00
Igor Wiedler
c22a43860b [Locale] add missing StubCollator methods, with tests 2011-03-02 17:13:24 +01:00
Eriksen Costa
18e16860ae [Locale] fixed PHP notice 2011-03-01 02:24:19 -03:00
Eriksen Costa
a04099728b [Locale] removed redundant code 2011-03-01 02:14:08 -03:00
Eriksen Costa
2a06139a97 [Locale] reordered methods to match code conventions 2011-03-01 02:13:55 -03:00
Eriksen Costa
4cc5b6f2d0 [Locale] throw exception if value different than null is provided (behavior not implemented in the stub) 2011-03-01 02:08:13 -03:00
Eriksen Costa
7ba71c0be1 [Locale] added missing docblocks 2011-03-01 01:59:14 -03:00
Igor Wiedler
51e9d8946b [Locale] match reverseMatchingRegExp against full string value 2011-02-28 18:45:52 +01:00
Igor Wiedler
fd0cc37c71 [Locale] handle escaped (enquoted) strings when parsing 2011-02-28 18:22:22 +01:00
Igor Wiedler
ac8b9be130 [Locale] import FullTransformer via usee statement 2011-02-28 14:29:44 +01:00
Igor Wiedler
a5f8411eff [Locale] minor cosmetical tweaks to the pre-escaped regExp 2011-02-28 13:54:38 +01:00
Igor Wiedler
7e577acede [Locale] do not use unimplemented chars in examples 2011-02-28 09:46:30 -03:00
Igor Wiedler
20acdac57d [Locale] remove support for era (BC|AD)
parsing it is a pain, nobody uses it, BC only works on 64 bit.
2011-02-28 09:46:30 -03:00
Igor Wiedler
195b2ebdde [Locale] handle IntlDateFormatter::parse with non-integer timestamp 2011-02-28 09:46:30 -03:00
Igor Wiedler
3f42be3fe9 [Locale] use assertSame in parse tests 2011-02-28 09:46:29 -03:00
Eriksen Costa
b7e9b35ca9 [Locale] added parsing of dates with regExp metachars 2011-02-28 09:44:14 -03:00
Eriksen Costa
0449889513 [Locale] added timezone parsing implementation 2011-02-28 01:19:19 -03:00
Eriksen Costa
dadd896915 [Locale] added implementation for minutes and seconds 2011-02-27 18:21:35 -03:00
Eriksen Costa
e78c6c2b1a [Locale] refactored hour manipulation 2011-02-27 18:14:02 -03:00
Eriksen Costa
348dd7ba24 [Locale] refactoring to separate concerns 2011-02-27 17:03:54 -03:00
Eriksen Costa
4a7c33ce82 [Locale] inject named capture string into Transformer constructor 2011-02-27 16:37:49 -03:00
Eriksen Costa
c1c0c3c42e [Locale] added parsing for hours (12 and 24 hours) 2011-02-27 15:22:25 -03:00
Eriksen Costa
ed85345312 [Locale] added parsing implementation for year, month and day 2011-02-27 02:22:07 -03:00
Eriksen Costa
f096b7b2bb [Locale] removed trailing whitespace 2011-02-27 01:04:07 -03:00
Igor Wiedler
0e260c1170 [Locale] refactor date formatting into separate transformer classes, early concepts for date parsing 2011-02-26 19:34:59 +01:00
Igor Wiedler
bcca989c41 [Locale] refactor and simplify some parts of StubIntlDateFormatter 2011-02-23 19:09:48 +01:00
Igor Wiedler
71c99422f3 [Locale] convenience createStubFormatter method for StubIntlDateFormatter tests 2011-02-23 14:20:47 +01:00
Igor Wiedler
ee5bc36c55 [Locale] add docblocks to StubIntlDateFormatter and adjust some things to be more like StubNumberFormatter 2011-02-23 14:20:47 +01:00
Igor Wiedler
5fdf68a08a [Locale] add license docblock to LocaleTestCase 2011-02-23 14:20:47 +01:00
Igor Wiedler
7b2b025ebd [Locale] add @author tag to StubCollator 2011-02-23 14:20:46 +01:00
Igor Wiedler
30ea2bae32 [Locale] add @author tag to StubIntlDateFormatter 2011-02-23 14:20:46 +01:00
Igor Wiedler
31313f183a [Locale] use is64Bit helper for StubIntlDateFormatterTest 2011-02-23 14:20:46 +01:00
Igor Wiedler
17e2d4e24c [Locale] StubCollator: asort with initial tests 2011-02-23 14:20:46 +01:00
Igor Wiedler
96b7c8ff73 [Locale] initial stub of StubCollator with class constants 2011-02-23 14:20:45 +01:00
Igor Wiedler
3cc60f7cb4 [Locale] throw NotImplementedException on unimplemented chars 2011-02-23 14:20:45 +01:00
Igor Wiedler
d555049342 [Locale] only test BC era if on 64bit 2011-02-23 14:20:45 +01:00
Igor Wiedler
4fb79b715a [Locale] split another StubIntlDateFormatter test into two 2011-02-23 14:20:45 +01:00
Igor Wiedler
577dd30927 [Locale] remove setLocale from StubIntlDateFormatter 2011-02-23 14:20:45 +01:00
Igor Wiedler
53839f9235 [Locale] refactor tests, make use of specialized exception 2011-02-23 14:20:45 +01:00
Igor Wiedler
77258223f1 [Locale] re-order StubIntlDateFormatter methods, rename timezoneId to timeZoneId, add setLenient method 2011-02-23 14:20:44 +01:00