diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2013-03-17 08:36:26 +0100 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2013-04-18 21:34:46 +0200 |
commit | 9830fd36dbdb72c79703b0c61efc027fba793c5a (patch) | |
tree | 2e9d698e6ca109dc6627adb5c84aa2b635bcfe92 /qadevOOo | |
parent | 5aaaf0694b6e3213685563fc3bc90d19b10f5c75 (diff) |
date/time IDL datatypes incompatible change
- nanosecond precision
- signed (allowed negative) year
Also: assorted improvements / bugfixes in date/time handling code.
Some factorisation of copy/pasted code.
Change-Id: I761a1b0b8731c82f19a0c37acbcf43d3c06d6cd6
Diffstat (limited to 'qadevOOo')
-rw-r--r-- | qadevOOo/tests/java/mod/_forms/ODatabaseForm.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/mod/_forms/ODatabaseForm.java b/qadevOOo/tests/java/mod/_forms/ODatabaseForm.java index 3b9bd8284ca7..9c884d95720c 100644 --- a/qadevOOo/tests/java/mod/_forms/ODatabaseForm.java +++ b/qadevOOo/tests/java/mod/_forms/ODatabaseForm.java @@ -636,11 +636,11 @@ public class ODatabaseForm extends TestCase { d.Day = 26; d.Month = 1; d.Year = 2001; params.add(d) ; Time t = new Time(); - t.Hours = 1; t.HundredthSeconds = 12; t.Minutes = 25; t.Seconds = 14; + t.Hours = 1; t.NanoSeconds = 123456789; t.Minutes = 25; t.Seconds = 14; params.add(t) ; DateTime dt = new DateTime(); dt.Day = 26; dt.Month = 1; dt.Year = 2001; dt.Hours = 1; - dt.HundredthSeconds = 12; dt.Minutes = 25; dt.Seconds = 14; + dt.NanoSeconds = 123456789; dt.Minutes = 25; dt.Seconds = 14; params.add(dt) ; tEnv.addObjRelation("XParameters.ParamValues", params); |