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

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


        return new SimpleDateValue(this, calendar);
    }

    // javadoc inherited
    public TimeValue createTimeValue(String time) {
        return new SimpleTimeValue(this, time);
    }
View Full Code Here


        return new SimpleTimeValue(this, time);
    }
   
    // javadoc inherited
    public TimeValue createTimeValue(Calendar calendar) {
        return new SimpleTimeValue(this, calendar);
    }
View Full Code Here

    }

    // javadoc inherited
    public TimeValue createTimeValue(int hours, int minutes,
                                     int seconds, int millis) {
        return new SimpleTimeValue(this, hours, minutes, seconds, millis);
    }
View Full Code Here

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

TOP

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

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.