Ary Junior wrote:
Hi Kohei Yoshida, if I try to declare the date argument date as a
com.sun.star.util.Date like this:
(In my .idl file)
string test(...[in] com::sun::start::util::Date date, ...);
(In my Java class implementation)
public String test(... com.sun.star.util.Date date, ...) {...
M
Kohei Yoshida wrote:
Now, as Niklas said, a date value is just a number of days since the
"NullDate", and this "NullDate" thingy is not guaranteed to be a
constant forever between different versions of OO.o. So, you need to
first get this value from your com.sun.star.sheet.SpreadsheetDocument
ob
Ary Junior wrote:
public String test(com.sun.star.beans.XPropertySet xOptions, double
date) {
try {
Date d = (Date)xOptions.getPropertyValue("NullDate");
return "The 'nullDate' is: "+d.Year+"-"+d.Month+"-"+d.Day+",
and the value is:"+String.valueOf(date);
On 5/27/05, Ary Junior <[EMAIL PROTECTED]> wrote:
> Hi Kohei Yoshida, if I try to declare the date argument date as a
> com.sun.star.util.Date like this:
>
> (In my .idl file)
> string test(...[in] com::sun::start::util::Date date, ...);
This should probably be string test(...[in] double date, ..
Hi Kohei Yoshida, if I try to declare the date argument date as a
com.sun.star.util.Date like this:
(In my .idl file)
string test(...[in] com::sun::start::util::Date date, ...);
(In my Java class implementation)
public String test(... com.sun.star.util.Date date, ...) {...
My function don't ap
Hi Niklas, see the code below:
public String test(com.sun.star.beans.XPropertySet xOptions, double
date) {
try {
Date d = (Date)xOptions.getPropertyValue("NullDate");
return "The 'nullDate' is: "+d.Year+"-"+d.Month+"-"+d.Day+",
and the value is:"+String.valueOf(
On 5/27/05, Ary Junior <[EMAIL PROTECTED]> wrote:
> Hello, I have a Spreadsheet cell formated with the date type. I'm
> implementing a add-in function with Java and this function have an
> java.util.Date argument. Whitch UNO IDL type I can use to map this
> argument and send the data value of the c
Ary Junior wrote:
Hello, I have a Spreadsheet cell formated with the date type. I'm
implementing a add-in function with Java and this function have an
java.util.Date argument. Whitch UNO IDL type I can use to map this
argument and send the data value of the cell to my function as a
java.util.D
Hello, I have a Spreadsheet cell formated with the date type. I'm
implementing a add-in function with Java and this function have an
java.util.Date argument. Whitch UNO IDL type I can use to map this
argument and send the data value of the cell to my function as a
java.util.Date?
[]s
Ary Jun