James Ahlborn
831d8c0b1d
Add ColumnFormatter utility which can apply Column Format property for display of column values
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1291 f203690c-595d-4dc9-a70b-905162fa7fd2
5 years ago
James Ahlborn
cb9ed9bd0b
Fix parsing of escaped double quotes in expressions
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1267 f203690c-595d-4dc9-a70b-905162fa7fd2
5 years ago
James Ahlborn
85c0657595
fix parsing of escaped double quote; implement euro format; implement most custom formatting
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/jdk8@1265 f203690c-595d-4dc9-a70b-905162fa7fd2
5 years ago
James Ahlborn
843a44dfe0
switch expression engine to LocalDateTime
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/jdk8@1238 f203690c-595d-4dc9-a70b-905162fa7fd2
5 years ago
James Ahlborn
8d5f4dc169
initial work for DateAdd function
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1212 f203690c-595d-4dc9-a70b-905162fa7fd2
5 years ago
James Ahlborn
6d1e438383
rework string conversion to date; add support for dates with implicit years; implement DatePart function
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1210 f203690c-595d-4dc9-a70b-905162fa7fd2
5 years ago
James Ahlborn
535e01e485
handle am/pm suffix dependent on date/time config
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1206 f203690c-595d-4dc9-a70b-905162fa7fd2
5 years ago
James Ahlborn
443c9fef2b
rework public expression api with better locale handling; support parsing of number strings with grouping separators
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1203 f203690c-595d-4dc9-a70b-905162fa7fd2
5 years ago
James Ahlborn
a314d6501d
add support for monthname function; implement better string to date/time conversions
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1202 f203690c-595d-4dc9-a70b-905162fa7fd2
5 years ago
James Ahlborn
0080d0c36f
minor update
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1184 f203690c-595d-4dc9-a70b-905162fa7fd2
5 years ago
James Ahlborn
0d10040410
handle literal string default values
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1157 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
2ff5d06acd
normalize decimals when used; convert number literals to decimal instead of 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
6 years ago
James Ahlborn
1a8771e555
plug expr evaluation into columns/tables; create Identifier for tracking 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
6 years ago
James Ahlborn
9908a0afe9
use specific exceptions for expr eval
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1146 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
389a37297d
handle plus as a unary number modifier; handle precedence of plus/minus in more confusing math expressions
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1127 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
774d505946
long type should be int values; implement more date/time and misc other functions
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1120 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
8eb5fe91d9
implement some date/time functions
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1119 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
392dfba3ef
add some initial default function unit tests; fix some parse bugs
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1114 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
631911dcf1
add more type coercion, string and date to num
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1084 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago
James Ahlborn
42344d756b
add TemporalConfig to allow for custom expression date/time formats
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1079 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago
James Ahlborn
6b30533a27
add testing for most basic math and fix some edge case logic
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1073 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago
James Ahlborn
b677a33262
start testing simple math exprs
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1072 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago
James Ahlborn
8cab4c878d
checkpoint reworking expression classes and implementing many basic operations
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1067 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago
James Ahlborn
fdeff8480b
reorg of expression classes
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1058 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago
James Ahlborn
874edea4ed
rework classes, add more interfaces; start implementing builtin functions using Value type
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1054 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago
James Ahlborn
c49b4c927c
make delims separate token type; implement parsing of more expr types
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1040 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago
James Ahlborn
23687e2d77
parse some operators
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1039 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago
James Ahlborn
6fbbe53848
impl obj ref parsing
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1038 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago
James Ahlborn
7ae65eeb68
impl expr tokenization
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1037 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago