From 9830fd36dbdb72c79703b0c61efc027fba793c5a Mon Sep 17 00:00:00 2001 From: Lionel Elie Mamane Date: Sun, 17 Mar 2013 08:36:26 +0100 Subject: 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 --- wizards/com/sun/star/wizards/common/JavaTools.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wizards/com/sun') diff --git a/wizards/com/sun/star/wizards/common/JavaTools.java b/wizards/com/sun/star/wizards/common/JavaTools.java index 4d003b0c2470..37004bd4efff 100644 --- a/wizards/com/sun/star/wizards/common/JavaTools.java +++ b/wizards/com/sun/star/wizards/common/JavaTools.java @@ -433,7 +433,7 @@ public class JavaTools dt.Hours = (short) cal.get(Calendar.HOUR); dt.Minutes = (short) cal.get(Calendar.MINUTE); dt.Seconds = (short) cal.get(Calendar.SECOND); - dt.HundredthSeconds = (short) cal.get(Calendar.MILLISECOND); + dt.NanoSeconds = cal.get(Calendar.MILLISECOND)*1000000; return dt; } -- cgit