@Test
public void test1() {

    StockTradingDaysVariables td=new StockTradingDaysVariables(31);
    TsDomain dom=new TsDomain(TsFrequency.Monthly, 2014, 0, 12);
    Matrix m=new Matrix(12, 6);
    td.data(dom, m.columnList());
    assertTrue(m.get(0, 4)==1);
    assertTrue(m.get(1, 4)==1);
    assertTrue(m.get(2, 0)==1);
    assertTrue(m.get(3, 2)==1);
    assertTrue(m.get(4, 5)==1);
}