aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/java/com/healthmarketscience/jackcess/impl/expr
Commit message (Collapse)AuthorAgeFilesLines
* fix NumberFormatter so that it formats according to the locale of the current dbJames Ahlborn2024-02-032-59/+75
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1406 f203690c-595d-4dc9-a70b-905162fa7fd2
* ensure unit tests run reliably in different localesJames Ahlborn2024-02-012-15/+16
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1405 f203690c-595d-4dc9-a70b-905162fa7fd2
* tweak unit tests to allow for slight precision variations in different jvmsJames Ahlborn2019-02-071-1/+5
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1283 f203690c-595d-4dc9-a70b-905162fa7fd2
* handle number formats with no required digitsJames Ahlborn2019-02-041-4/+13
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/jdk8@1273 f203690c-595d-4dc9-a70b-905162fa7fd2
* more tests and tweaks to custom formattingJames Ahlborn2019-01-311-1/+10
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/jdk8@1271 f203690c-595d-4dc9-a70b-905162fa7fd2
* more tests, more bug fixes for custom formatsJames Ahlborn2019-01-301-9/+41
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/jdk8@1270 f203690c-595d-4dc9-a70b-905162fa7fd2
* add unit tests, fix bugs in custom formatsJames Ahlborn2019-01-291-12/+182
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/jdk8@1269 f203690c-595d-4dc9-a70b-905162fa7fd2
* implement remaining custom formatting, not testedJames Ahlborn2019-01-241-0/+20
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/jdk8@1266 f203690c-595d-4dc9-a70b-905162fa7fd2
* fix parsing of escaped double quote; implement euro format; implement most ↵James Ahlborn2019-01-191-1/+16
| | | | | | custom formatting git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/jdk8@1265 f203690c-595d-4dc9-a70b-905162fa7fd2
* switch expression engine to LocalDateTimeJames Ahlborn2018-12-152-21/+19
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/jdk8@1238 f203690c-595d-4dc9-a70b-905162fa7fd2
* update parent pom; fix test failureJames Ahlborn2018-11-271-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/jdk8@1229 f203690c-595d-4dc9-a70b-905162fa7fd2
* implement Format with predefined formatsJames Ahlborn2018-11-203-2/+167
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1226 f203690c-595d-4dc9-a70b-905162fa7fd2
* currency format uses parens; add bool predefined formatsJames Ahlborn2018-11-151-2/+2
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1225 f203690c-595d-4dc9-a70b-905162fa7fd2
* cache and reuse DecimalFormat instancesJames Ahlborn2018-11-131-0/+6
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1222 f203690c-595d-4dc9-a70b-905162fa7fd2
* implement FormatDateTime functionJames Ahlborn2018-11-131-0/+8
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1221 f203690c-595d-4dc9-a70b-905162fa7fd2
* implement FormatCurrency and FormatPercentJames Ahlborn2018-11-081-0/+10
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1220 f203690c-595d-4dc9-a70b-905162fa7fd2
* fill out remaining tests for FormatNumberJames Ahlborn2018-11-081-0/+13
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1219 f203690c-595d-4dc9-a70b-905162fa7fd2
* add more numeric configJames Ahlborn2018-11-081-450/+407
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1218 f203690c-595d-4dc9-a70b-905162fa7fd2
* implement DateDiff functionJames Ahlborn2018-11-061-0/+69
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1216 f203690c-595d-4dc9-a70b-905162fa7fd2
* implement replace functionJames Ahlborn2018-11-031-0/+16
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1215 f203690c-595d-4dc9-a70b-905162fa7fd2
* implement Val functionJames Ahlborn2018-11-021-0/+10
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1214 f203690c-595d-4dc9-a70b-905162fa7fd2
* finish DateAdd functionJames Ahlborn2018-10-291-0/+17
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1213 f203690c-595d-4dc9-a70b-905162fa7fd2
* rework string conversion to date; add support for dates with implicit years; ↵James Ahlborn2018-10-181-2/+28
| | | | | | implement DatePart function git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1210 f203690c-595d-4dc9-a70b-905162fa7fd2
* fix broken testJames Ahlborn2018-10-101-2/+2
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1209 f203690c-595d-4dc9-a70b-905162fa7fd2
* reimplemnt and test financial functionsJames Ahlborn2018-10-101-61/+94
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1208 f203690c-595d-4dc9-a70b-905162fa7fd2
* add support for strconv functionJames Ahlborn2018-10-052-0/+9
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1207 f203690c-595d-4dc9-a70b-905162fa7fd2
* rework public expression api with better locale handling; support parsing of ↵James Ahlborn2018-10-041-8/+20
| | | | | | number strings with grouping separators git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1203 f203690c-595d-4dc9-a70b-905162fa7fd2
* add support for monthname function; implement better string to date/time ↵James Ahlborn2018-09-291-0/+9
| | | | | | conversions git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1202 f203690c-595d-4dc9-a70b-905162fa7fd2
* add support for weekdayname functionJames Ahlborn2018-09-261-0/+6
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1201 f203690c-595d-4dc9-a70b-905162fa7fd2
* implement IsNumeric; add support for hex/oct integer stringsJames Ahlborn2018-09-182-0/+18
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1199 f203690c-595d-4dc9-a70b-905162fa7fd2
* refactor support for working with Value instancesJames Ahlborn2018-09-061-4/+4
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1192 f203690c-595d-4dc9-a70b-905162fa7fd2
* test TimeSerial; implement DateSerialJames Ahlborn2018-07-261-0/+9
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1187 f203690c-595d-4dc9-a70b-905162fa7fd2
* test custom EvalConfig; fix time formatJames Ahlborn2018-07-261-2/+5
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1186 f203690c-595d-4dc9-a70b-905162fa7fd2
* add some date function testsJames Ahlborn2018-07-252-3/+26
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1185 f203690c-595d-4dc9-a70b-905162fa7fd2
* test number functionsJames Ahlborn2018-07-171-0/+41
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1183 f203690c-595d-4dc9-a70b-905162fa7fd2
* test more functionsJames Ahlborn2018-07-172-2/+54
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1182 f203690c-595d-4dc9-a70b-905162fa7fd2
* add ability to get original expression; implement some parsing testsJames Ahlborn2018-07-172-0/+33
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1181 f203690c-595d-4dc9-a70b-905162fa7fd2
* fix handling of certain field validator expressions; add some tests for ↵James Ahlborn2018-07-141-28/+68
| | | | | | various expressions git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1180 f203690c-595d-4dc9-a70b-905162fa7fd2
* add more tests; add not likeJames Ahlborn2018-07-011-2/+46
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1178 f203690c-595d-4dc9-a70b-905162fa7fd2
* more testsJames Ahlborn2018-06-291-0/+35
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1177 f203690c-595d-4dc9-a70b-905162fa7fd2
* use common method pattern between ParseContext and EvalConfigJames Ahlborn2018-06-271-3/+3
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1176 f203690c-595d-4dc9-a70b-905162fa7fd2
* ditch default parse contextJames Ahlborn2018-06-271-3/+5
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1175 f203690c-595d-4dc9-a70b-905162fa7fd2
* add some tests for functions; fix said functionsJames Ahlborn2018-06-261-1/+25
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1166 f203690c-595d-4dc9-a70b-905162fa7fd2
* add number format unit tests; update tests based on new formattingJames Ahlborn2018-06-051-44/+44
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1163 f203690c-595d-4dc9-a70b-905162fa7fd2
* implement floating point number formatting which matches accessJames Ahlborn2018-06-031-3/+4
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1159 f203690c-595d-4dc9-a70b-905162fa7fd2
* handle literal string default valuesJames Ahlborn2018-05-301-5/+24
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1157 f203690c-595d-4dc9-a70b-905162fa7fd2
* use decimal math context which matches access precision; tweak string to ↵James Ahlborn2018-05-301-3/+4
| | | | | | number conversion to match access git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1156 f203690c-595d-4dc9-a70b-905162fa7fd2
* normalize decimals when used; convert number literals to decimal instead of ↵James Ahlborn2018-05-271-8/+17
| | | | | | double; handle int overflow for number literals git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1155 f203690c-595d-4dc9-a70b-905162fa7fd2
* knock out some fixmes; add support for custom function lookup and custom ↵James Ahlborn2018-05-191-18/+33
| | | | | | bindings passed into expression evaluation git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1151 f203690c-595d-4dc9-a70b-905162fa7fd2
* plug expr evaluation into columns/tables; create Identifier for tracking ↵James Ahlborn2018-05-081-2/+5
| | | | | | expression ids; support single quoting in expressions; tweak string to number coercion; implement topo sorter for calc col eval git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1148 f203690c-595d-4dc9-a70b-905162fa7fd2