test_class.file: jtstoolkit/src/test/java/ec/tstoolkit/timeseries/DayClusteringTest.java
test_class.identifier: DayClusteringTest
test_case.body: @Test
      public void testCreate() {
          assertTrue(DayClustering.create(new int[]{0,2,2,2,0,0,1})!= null);
          assertTrue(DayClustering.create(new int[]{0,2,2,2,0,0,0})== null);
          assertTrue(DayClustering.create(new int[]{0,2,2,2,2,2,1})!= null);
          assertTrue(DayClustering.create(new int[]{0,1,2,3,4,5,6})!= null);
      }
test_case.class_method_signature: DayClusteringTest.testCreate()
test_case.full_signature: @Test public void testCreate()
test_case.identifier: testCreate
test_case.invocations: assertTrue create assertTrue create assertTrue create assertTrue create
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testCreate()
focal_class.declarator: groups
focal_class.modifier: private final
focal_class.original_string: private final int[] groups;
focal_class.type: int[]
focal_class.var_name: groups
focal_class.declarator: TD7_IDX = new int[]{1, 2, 3, 4, 5, 6, 0}
focal_class.modifier: private static final
focal_class.original_string: private static final int[] TD7_IDX = new int[]{1, 2, 3, 4, 5, 6, 0}, 
              TD2_IDX = new int[]{1, 1, 1, 1, 1, 0, 0}, 
              TD3_IDX = new int[]{1, 1, 1, 1, 1, 2, 0},
              TD3C_IDX = new int[]{1, 1, 1, 1, 2, 2, 0},
              TD4_IDX = new int[]{1, 1, 1, 1, 2, 3, 0}
              ;
focal_class.type: int[]
focal_class.var_name: TD7_IDX
focal_class.declarator: SHORTNAMES = new String[]{"mon", "tue", "wed", "thu", "fri", "sat", "sun"}
focal_class.modifier: private static final
focal_class.original_string: private static final String[] SHORTNAMES = new String[]{"mon", "tue", "wed", "thu", "fri", "sat", "sun"};
focal_class.type: String[]
focal_class.var_name: SHORTNAMES
focal_class.declarator: TD2 = new DayClustering(TD2_IDX)
focal_class.modifier: public static final
focal_class.original_string: public static final DayClustering TD2 = new DayClustering(TD2_IDX), TD3 = new DayClustering(TD3_IDX)
              , TD3c = new DayClustering(TD3C_IDX)
              , TD4 = new DayClustering(TD4_IDX), TD7 = new DayClustering(TD7_IDX);
focal_class.type: DayClustering
focal_class.var_name: TD2
focal_class.file: jtstoolkit/src/main/java/ec/tstoolkit/timeseries/DayClustering.java
focal_class.identifier: DayClustering
focal_class.class_method_signature: DayClustering.create(int[] groups)
focal_class.full_signature: public static DayClustering create(int[] groups)
focal_class.identifier: create
focal_class.modifiers: public static
focal_class.parameters: (int[] groups)
focal_class.return: DayClustering
focal_class.signature: DayClustering create(int[] groups)
focal_class.class_method_signature: DayClustering.checkGroups(int[] groups)
focal_class.full_signature: private static boolean checkGroups(int[] groups)
focal_class.identifier: checkGroups
focal_class.modifiers: private static
focal_class.parameters: (int[] groups)
focal_class.return: boolean
focal_class.signature: boolean checkGroups(int[] groups)
focal_class.class_method_signature: DayClustering.DayClustering(final int[] groups)
focal_class.full_signature:   DayClustering(final int[] groups)
focal_class.identifier: DayClustering
focal_class.parameters: (final int[] groups)
focal_class.signature:  DayClustering(final int[] groups)
focal_class.class_method_signature: DayClustering.getGroup(java.time.DayOfWeek dw)
focal_class.full_signature: public int getGroup(java.time.DayOfWeek dw)
focal_class.identifier: getGroup
focal_class.modifiers: public
focal_class.parameters: (java.time.DayOfWeek dw)
focal_class.return: int
focal_class.signature: int getGroup(java.time.DayOfWeek dw)
focal_class.class_method_signature: DayClustering.getGroupsCount()
focal_class.full_signature: public int getGroupsCount()
focal_class.identifier: getGroupsCount
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getGroupsCount()
focal_class.class_method_signature: DayClustering.getGroupCount(int idx)
focal_class.full_signature: public int getGroupCount(int idx)
focal_class.identifier: getGroupCount
focal_class.modifiers: public
focal_class.parameters: (int idx)
focal_class.return: int
focal_class.signature: int getGroupCount(int idx)
focal_class.class_method_signature: DayClustering.group(int idx)
focal_class.full_signature: public java.time.DayOfWeek[] group(int idx)
focal_class.identifier: group
focal_class.modifiers: public
focal_class.parameters: (int idx)
focal_class.return: java.time.DayOfWeek[]
focal_class.signature: java.time.DayOfWeek[] group(int idx)
focal_class.class_method_signature: DayClustering.positions(int idx)
focal_class.full_signature: public int[] positions(int idx)
focal_class.identifier: positions
focal_class.modifiers: public
focal_class.parameters: (int idx)
focal_class.return: int[]
focal_class.signature: int[] positions(int idx)
focal_class.class_method_signature: DayClustering.allPositions()
focal_class.full_signature: public int[][] allPositions()
focal_class.identifier: allPositions
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int[][]
focal_class.signature: int[][] allPositions()
focal_class.class_method_signature: DayClustering.isInside(DayClustering dc)
focal_class.full_signature: public boolean isInside(DayClustering dc)
focal_class.identifier: isInside
focal_class.modifiers: public
focal_class.parameters: (DayClustering dc)
focal_class.return: boolean
focal_class.signature: boolean isInside(DayClustering dc)
focal_class.class_method_signature: DayClustering.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: DayClustering.toString(int i)
focal_class.full_signature: public String toString(int i)
focal_class.identifier: toString
focal_class.modifiers: public
focal_class.parameters: (int i)
focal_class.return: String
focal_class.signature: String toString(int i)
focal_class.class_method_signature: DayClustering.getGroupsDefinition()
focal_class.full_signature: public int[] getGroupsDefinition()
focal_class.identifier: getGroupsDefinition
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int[]
focal_class.signature: int[] getGroupsDefinition()
focal_method.body: public static DayClustering create(int[] groups) {
          if (groups.length != 7) {
              return null;
          }
          if (!checkGroups(groups)) {
              return null;
          }
          return new DayClustering(groups);
      }
focal_method.class_method_signature: DayClustering.create(int[] groups)
focal_method.full_signature: public static DayClustering create(int[] groups)
focal_method.identifier: create
focal_method.invocations: checkGroups
focal_method.modifiers: public static
focal_method.parameters: (int[] groups)
focal_method.return: DayClustering
focal_method.signature: DayClustering create(int[] groups)