Package org.jquantlib.time.calendars

Examples of org.jquantlib.time.calendars.Singapore$SgxImpl


  public void testSingaporeYear2004() {
        final int year = 2004;
        QL.info("Testing Singapore's holiday list for the year " + year + "...");

       
        final Calendar c = new Singapore(Singapore.Market.SGX);
      final List<Date> expectedHol = new ArrayList<Date>();

      //New year's day
      expectedHol.add(new Date(1,January,year));
View Full Code Here


  public void testSingaporeYear2005() {
        final int year = 2005;
        QL.info("Testing Singapore's holiday list for the year " + year + "...");

       
        final Calendar c = new Singapore(Singapore.Market.SGX);
      final List<Date> expectedHol = new ArrayList<Date>();

      //New year's day -- weekend in yr 2005
      //expectedHol.add(new Date(1,JANUARY,year));
    // Hari Raya Haji
View Full Code Here

  public void testSingaporeYear2006() {
        final int year = 2006;
        QL.info("Testing Singapore's holiday list for the year " + year + "...");

       
        final Calendar c = new Singapore(Singapore.Market.SGX);
      final List<Date> expectedHol = new ArrayList<Date>();

      //New year's day -- weekend in 2006
      //expectedHol.add(new Date(1,JANUARY,year));
    // Hari Raya Haji
View Full Code Here

  public void testSingaporeYear2007() {
        final int year = 2007;
        QL.info("Testing Singapore's holiday list for the year " + year + "...");

       
        final Calendar c = new Singapore(Singapore.Market.SGX);
      final List<Date> expectedHol = new ArrayList<Date>();

      //New year's day
      expectedHol.add(new Date(1,January,year));
    // Hari Raya Haji
View Full Code Here

  public void testSingaporeYear2008() {
        final int year = 2008;
        QL.info("Testing Singapore's holiday list for the year " + year + "...");

       
        final Calendar c = new Singapore(Singapore.Market.SGX);
      final List<Date> expectedHol = new ArrayList<Date>();

      //New year's day
      expectedHol.add(new Date(1,January,year));
View Full Code Here

  public void testSingaporeYear2009() {
        final int year = 2009;
        QL.info("Testing Singapore's holiday list for the year " + year + "...");

       
        final Calendar c = new Singapore(Singapore.Market.SGX);
      final List<Date> expectedHol = new ArrayList<Date>();

      //New year's day
      expectedHol.add(new Date(1,January,year));
View Full Code Here

TOP

Related Classes of org.jquantlib.time.calendars.Singapore$SgxImpl

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.