Package org.jquantlib.xmlrpc.services.interfaces

Examples of org.jquantlib.xmlrpc.services.interfaces.CalendarWidget


        client.setTransportFactory(new XmlRpcCommonsTransportFactory(client));
        // set configuration
        client.setConfig(config);

        ClientFactory factory = new ClientFactory(client);
        CalendarWidget calendar = (CalendarWidget) factory.newInstance(CalendarWidget.class);
       
        int year=2005, month=11, day=13;
       
        // make proxied calls
        System.out.println("Weekday("+year+","+month+","+day+")       = "+ calendar.getWeekday(year, month, day));
        System.out.println("isBusinessDay("+year+","+month+","+day+") = "+ calendar.isBusinessDay(year, month, day));
    }
View Full Code Here

TOP

Related Classes of org.jquantlib.xmlrpc.services.interfaces.CalendarWidget

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.