Package com.volantis.xml.expression.atomic.temporal

Examples of com.volantis.xml.expression.atomic.temporal.SimpleDateTimeValue


        return new SimpleIntValue(this, value);
    }

    // javadoc inherited
    public DateTimeValue createDateTimeValue(String dateTime) {
        return new SimpleDateTimeValue(this, dateTime);
    }
View Full Code Here


        return new SimpleDateTimeValue(this, dateTime);
    }

    // javadoc inherited
    public DateTimeValue createDateTimeValue(Calendar calendar) {
        return new SimpleDateTimeValue(this, calendar);
    }
View Full Code Here

    // javadoc inherited
    public DateTimeValue createDateTimeValue(int year,int month, int day,
                                             int hour, int minute,
                                             int second, int millisecond,
                                             TimeZone timezone) {
        return new SimpleDateTimeValue(this, year, month, day,
                                       hour, minute, second, millisecond,
                                        timezone);
    }
View Full Code Here

                                    new Integer(2),
                                    new Integer(arguments.length)
                            }));
        }
        ExpressionFactory factory = context.getFactory();
        SimpleDateTimeValue first = (SimpleDateTimeValue)
                factory.createDateTimeValue(
                        arguments[0].stringValue().asJavaString());
        DateTimeValue second = factory.createDateTimeValue(
                arguments[1].stringValue().asJavaString());
        return first.subtract(second);
    }
View Full Code Here

TOP

Related Classes of com.volantis.xml.expression.atomic.temporal.SimpleDateTimeValue

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.