aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/java/com/healthmarketscience/jackcess
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-132-0/+9
| | | | 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-182-3/+29
| | | | | | 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-292-2/+34
| | | | | | 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-062-6/+6
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1192 f203690c-595d-4dc9-a70b-905162fa7fd2
* minor refactor of function support; start adding top level docs for ↵James Ahlborn2018-08-241-1/+2
| | | | | | evaluation support git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1190 f203690c-595d-4dc9-a70b-905162fa7fd2
* fix compiler warningJames Ahlborn2018-08-231-2/+2
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1189 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-262-3/+82
| | | | 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
* more number format unit testsJames Ahlborn2018-06-061-0/+19
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1164 f203690c-595d-4dc9-a70b-905162fa7fd2
* add number format unit tests; update tests based on new formattingJames Ahlborn2018-06-052-44/+131
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1163 f203690c-595d-4dc9-a70b-905162fa7fd2
* add unit tests for property expression evaluation featuresJames Ahlborn2018-06-052-31/+314
| | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1162 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
* merge trunk changes through r1152James Ahlborn2018-05-251-0/+13
|\ | | | | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1153 f203690c-595d-4dc9-a70b-905162fa7fd2
| * Add some additional property keys and relevant enums for valuesJames Ahlborn2018-05-191-24/+37
| | | | | | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1150 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-082-2/+171
| | | | | | | | | | | | 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
* | start enforcing the required and no-zero len column propertiesJames Ahlborn2018-04-291-27/+140
| | | | | | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1147 f203690c-595d-4dc9-a70b-905162fa7fd2
* | use specific exceptions for expr evalJames Ahlborn2018-03-311-12/+4
| | | | | | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1146 f203690c-595d-4dc9-a70b-905162fa7fd2
* | fix null handling for string funcsJames Ahlborn2018-03-311-0/+9
| | | | | | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1145 f203690c-595d-4dc9-a70b-905162fa7fd2
* | move rnd logic to RandomContextJames Ahlborn2018-03-231-16/+3
| | | | | | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1144 f203690c-595d-4dc9-a70b-905162fa7fd2
* | merge trunk changes through r1138James Ahlborn2018-02-083-3/+133
|\| | | | | | | git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1139 f203690c-595d-4dc9-a70b-905162fa7fd2
| * Expose the ddl attribute on properties. Set the attribute appropriately for ↵James Ahlborn2018-01-251-3/+5
| | | | | | | | | | | | known builtin properties. fixes issue #145 git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1137 f203690c-595d-4dc9-a70b-905162fa7fd2