class TsDataBlock {

    public static TsDataBlock fullYears(TsData series) {
        TsPeriod start = series.getStart(), end = series.getEnd();
        int freq = series.getFrequency().intValue();
        int nbeg = start.getPosition();
        if (nbeg != 0) {
            nbeg = freq - nbeg;
        }
        int nend = end.getPosition();
        return new TsDataBlock(series, nbeg, series.getLength() - nend, 1);
    }

      TsDataBlock(TsData series, int start, int end, int inc);
      TsDataBlock(TsPeriod start, DataBlock data);

}