test_class.file: jtstoolkit/src/test/java/ec/tstoolkit/timeseries/simplets/TsDataBlockTest.java
test_class.identifier: TsDataBlockTest
test_case.body: @Test
      public void testFullYears() {
          TsDataBlock fullYears = TsDataBlock.fullYears(Data.X);
          assertTrue(fullYears.start.getPosition()==0);
          assertTrue(fullYears.period(fullYears.data.getEndPosition()).getPosition()==0);
      }
test_case.class_method_signature: TsDataBlockTest.testFullYears()
test_case.full_signature: @Test public void testFullYears()
test_case.identifier: testFullYears
test_case.invocations: fullYears assertTrue getPosition assertTrue getPosition period getEndPosition
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testFullYears()
focal_class.declarator: data
focal_class.modifier: public final
focal_class.original_string: public final DataBlock data;
focal_class.type: DataBlock
focal_class.var_name: data
focal_class.declarator: start
focal_class.modifier: public final
focal_class.original_string: public final TsPeriod start;
focal_class.type: TsPeriod
focal_class.var_name: start
focal_class.file: jtstoolkit/src/main/java/ec/tstoolkit/timeseries/simplets/TsDataBlock.java
focal_class.identifier: TsDataBlock
focal_class.class_method_signature: TsDataBlock.fullYears(TsData series)
focal_class.full_signature: public static TsDataBlock fullYears(TsData series)
focal_class.identifier: fullYears
focal_class.modifiers: public static
focal_class.parameters: (TsData series)
focal_class.return: TsDataBlock
focal_class.signature: TsDataBlock fullYears(TsData series)
focal_class.class_method_signature: TsDataBlock.select(TsData series, TsDomain domain)
focal_class.full_signature: public static TsDataBlock select(TsData series, TsDomain domain)
focal_class.identifier: select
focal_class.modifiers: public static
focal_class.parameters: (TsData series, TsDomain domain)
focal_class.return: TsDataBlock
focal_class.signature: TsDataBlock select(TsData series, TsDomain domain)
focal_class.class_method_signature: TsDataBlock.select(TsData series, TsPeriodSelector selector)
focal_class.full_signature: public static TsDataBlock select(TsData series, TsPeriodSelector selector)
focal_class.identifier: select
focal_class.modifiers: public static
focal_class.parameters: (TsData series, TsPeriodSelector selector)
focal_class.return: TsDataBlock
focal_class.signature: TsDataBlock select(TsData series, TsPeriodSelector selector)
focal_class.class_method_signature: TsDataBlock.select(TsDataBlock data, int start, int count,
              int inc)
focal_class.full_signature: public static TsDataBlock select(TsDataBlock data, int start, int count,
              int inc)
focal_class.identifier: select
focal_class.modifiers: public static
focal_class.parameters: (TsDataBlock data, int start, int count,
              int inc)
focal_class.return: TsDataBlock
focal_class.signature: TsDataBlock select(TsDataBlock data, int start, int count,
              int inc)
focal_class.class_method_signature: TsDataBlock.all(TsData series)
focal_class.full_signature: public static TsDataBlock all(TsData series)
focal_class.identifier: all
focal_class.modifiers: public static
focal_class.parameters: (TsData series)
focal_class.return: TsDataBlock
focal_class.signature: TsDataBlock all(TsData series)
focal_class.class_method_signature: TsDataBlock.observations()
focal_class.full_signature: public java.util.Enumeration<TsObservation> observations()
focal_class.identifier: observations
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: java.util.Enumeration<TsObservation>
focal_class.signature: java.util.Enumeration<TsObservation> observations()
focal_class.class_method_signature: TsDataBlock.period(int i)
focal_class.full_signature: @NewObject public TsPeriod period(int i)
focal_class.identifier: period
focal_class.modifiers: @NewObject public
focal_class.parameters: (int i)
focal_class.return: TsPeriod
focal_class.signature: TsPeriod period(int i)
focal_class.class_method_signature: TsDataBlock.TsDataBlock(TsData series, int start, int end, int inc)
focal_class.full_signature:   TsDataBlock(TsData series, int start, int end, int inc)
focal_class.identifier: TsDataBlock
focal_class.parameters: (TsData series, int start, int end, int inc)
focal_class.signature:  TsDataBlock(TsData series, int start, int end, int inc)
focal_class.class_method_signature: TsDataBlock.TsDataBlock(TsPeriod start, DataBlock data)
focal_class.full_signature:   TsDataBlock(TsPeriod start, DataBlock data)
focal_class.identifier: TsDataBlock
focal_class.parameters: (TsPeriod start, DataBlock data)
focal_class.signature:  TsDataBlock(TsPeriod start, DataBlock data)
focal_class.class_method_signature: TsDataBlock.drop(int nbeg, int nend)
focal_class.full_signature:  TsDataBlock drop(int nbeg, int nend)
focal_class.identifier: drop
focal_class.parameters: (int nbeg, int nend)
focal_class.return: TsDataBlock
focal_class.signature: TsDataBlock drop(int nbeg, int nend)
focal_class.class_method_signature: TsDataBlock.extend(int nbeg, int nend)
focal_class.full_signature:  TsDataBlock extend(int nbeg, int nend)
focal_class.identifier: extend
focal_class.parameters: (int nbeg, int nend)
focal_class.return: TsDataBlock
focal_class.signature: TsDataBlock extend(int nbeg, int nend)
focal_class.class_method_signature: TsDataBlock.move(int m)
focal_class.full_signature:  void move(int m)
focal_class.identifier: move
focal_class.parameters: (int m)
focal_class.return: void
focal_class.signature: void move(int m)
focal_method.body: 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);
      }
focal_method.class_method_signature: TsDataBlock.fullYears(TsData series)
focal_method.full_signature: public static TsDataBlock fullYears(TsData series)
focal_method.identifier: fullYears
focal_method.invocations: getStart getEnd intValue getFrequency getPosition getPosition getLength
focal_method.modifiers: public static
focal_method.parameters: (TsData series)
focal_method.return: TsDataBlock
focal_method.signature: TsDataBlock fullYears(TsData series)