test_class.declarator: D_2001_01_03 = new Day(2001, Month.January, 3 - 1)
test_class.modifier: static final
test_class.original_string: static final Day D_2001_01_03 = new Day(2001, Month.January, 3 - 1);
test_class.type: Day
test_class.var_name: D_2001_01_03
test_class.declarator: D_2001_03_03 = new Day(2001, Month.March, 3 - 1)
test_class.modifier: static final
test_class.original_string: static final Day D_2001_03_03 = new Day(2001, Month.March, 3 - 1);
test_class.type: Day
test_class.var_name: D_2001_03_03
test_class.declarator: D_2001_03_10 = new Day(2001, Month.March, 10 - 1)
test_class.modifier: static final
test_class.original_string: static final Day D_2001_03_10 = new Day(2001, Month.March, 10 - 1);
test_class.type: Day
test_class.var_name: D_2001_03_10
test_class.file: jtstoolkit/src/test/java/ec/tstoolkit/timeseries/DayTest.java
test_class.identifier: DayTest
test_case.body: @Test
      public void testGetTime() {
          Calendar cal = Calendar.getInstance();
          cal.setTime(D_2001_01_03.getTime());
          assertEquals(2001, cal.get(Calendar.YEAR));
          assertEquals(Calendar.JANUARY, cal.get(Calendar.MONTH));
          assertEquals(3, cal.get(Calendar.DAY_OF_MONTH));
  
          assertEquals(D_2001_01_03.getTime(), D_2001_01_03.getTime());
          assertNotSame(D_2001_01_03.getTime(), D_2001_01_03.getTime());
          assertNotEquals(D_2001_01_03.getTime(), D_2001_03_03.getTime());
      }
test_case.class_method_signature: DayTest.testGetTime()
test_case.full_signature: @Test public void testGetTime()
test_case.identifier: testGetTime
test_case.invocations: getInstance setTime getTime assertEquals get assertEquals get assertEquals get assertEquals getTime getTime assertNotSame getTime getTime assertNotEquals getTime getTime
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetTime()
focal_class.declarator: DAY_OF_WEEK_T0 = 3
focal_class.modifier: public static final
focal_class.original_string: public static final int DAY_OF_WEEK_T0 = 3;
focal_class.type: int
focal_class.var_name: DAY_OF_WEEK_T0
focal_class.declarator: monthDays = {31, 28, 31, 30, 31, 30, 31, 31, 30,
          31, 30, 31}
focal_class.modifier: private static final
focal_class.original_string: private static final int[] monthDays = {31, 28, 31, 30, 31, 30, 31, 31, 30,
          31, 30, 31};
focal_class.type: int[]
focal_class.var_name: monthDays
focal_class.declarator: cumulatedMonthDays = {0, 31, 59, 90, 120, 151,
          181, 212, 243, 273, 304, 334, 365}
focal_class.modifier: private static final
focal_class.original_string: private static final int[] cumulatedMonthDays = {0, 31, 59, 90, 120, 151,
          181, 212, 243, 273, 304, 334, 365};
focal_class.type: int[]
focal_class.var_name: cumulatedMonthDays
focal_class.declarator: BEG = new Day(1000, Month.January, 0)
focal_class.modifier: public static final
focal_class.original_string: public static final Day BEG = new Day(1000, Month.January, 0);
focal_class.type: Day
focal_class.var_name: BEG
focal_class.declarator: END = new Day(2999, Month.December, 30)
focal_class.modifier: public static final
focal_class.original_string: public static final Day END = new Day(2999, Month.December, 30);
focal_class.type: Day
focal_class.var_name: END
focal_class.declarator: day_
focal_class.modifier: private final
focal_class.original_string: private final int day_;
focal_class.type: int
focal_class.var_name: day_
focal_class.declarator: G_DAY0 = new GregorianCalendar(1970, Calendar.JANUARY, 1).getTimeInMillis()
focal_class.modifier: private static final
focal_class.original_string: private static final long G_DAY0 = new GregorianCalendar(1970, Calendar.JANUARY, 1).getTimeInMillis();
focal_class.type: long
focal_class.var_name: G_DAY0
focal_class.declarator: DATE_FORMAT_THREAD_LOCAL = ThreadLocal.withInitial(() -> new SimpleDateFormat("yyyy-MM-dd"))
focal_class.modifier: private static final
focal_class.original_string: private static final ThreadLocal<SimpleDateFormat> DATE_FORMAT_THREAD_LOCAL = ThreadLocal.withInitial(() -> new SimpleDateFormat("yyyy-MM-dd"));
focal_class.type: ThreadLocal<SimpleDateFormat>
focal_class.var_name: DATE_FORMAT_THREAD_LOCAL
focal_class.declarator: CALENDAR_THREAD_LOCAL = ThreadLocal.withInitial(GregorianCalendar::new)
focal_class.modifier: private static final
focal_class.original_string: private static final ThreadLocal<GregorianCalendar> CALENDAR_THREAD_LOCAL = ThreadLocal.withInitial(GregorianCalendar::new);
focal_class.type: ThreadLocal<GregorianCalendar>
focal_class.var_name: CALENDAR_THREAD_LOCAL
focal_class.file: jtstoolkit/src/main/java/ec/tstoolkit/timeseries/Day.java
focal_class.identifier: Day
focal_class.interfaces: implements IPeriod, Comparable<Day>
focal_class.class_method_signature: Day.getMonthDays(int month)
focal_class.full_signature: public static int getMonthDays(int month)
focal_class.identifier: getMonthDays
focal_class.modifiers: public static
focal_class.parameters: (int month)
focal_class.return: int
focal_class.signature: int getMonthDays(int month)
focal_class.class_method_signature: Day.getCumulatedMonthDays(int month)
focal_class.full_signature: public static int getCumulatedMonthDays(int month)
focal_class.identifier: getCumulatedMonthDays
focal_class.modifiers: public static
focal_class.parameters: (int month)
focal_class.return: int
focal_class.signature: int getCumulatedMonthDays(int month)
focal_class.class_method_signature: Day.calc(final Date date)
focal_class.full_signature: private static int calc(final Date date)
focal_class.identifier: calc
focal_class.modifiers: private static
focal_class.parameters: (final Date date)
focal_class.return: int
focal_class.signature: int calc(final Date date)
focal_class.class_method_signature: Day.calc(int year, final int month, final int day)
focal_class.full_signature: public static int calc(int year, final int month, final int day)
focal_class.identifier: calc
focal_class.modifiers: public static
focal_class.parameters: (int year, final int month, final int day)
focal_class.return: int
focal_class.signature: int calc(int year, final int month, final int day)
focal_class.class_method_signature: Day.calcDays(int year, final int ndays)
focal_class.full_signature: public static int calcDays(int year, final int ndays)
focal_class.identifier: calcDays
focal_class.modifiers: public static
focal_class.parameters: (int year, final int ndays)
focal_class.return: int
focal_class.signature: int calcDays(int year, final int ndays)
focal_class.class_method_signature: Day.subtract(final Day d0, final Day d1)
focal_class.full_signature: public static int subtract(final Day d0, final Day d1)
focal_class.identifier: subtract
focal_class.modifiers: public static
focal_class.parameters: (final Day d0, final Day d1)
focal_class.return: int
focal_class.signature: int subtract(final Day d0, final Day d1)
focal_class.class_method_signature: Day.toDay()
focal_class.full_signature: public static Day toDay()
focal_class.identifier: toDay
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Day
focal_class.signature: Day toDay()
focal_class.class_method_signature: Day.verify(int year)
focal_class.full_signature: static int verify(int year)
focal_class.identifier: verify
focal_class.modifiers: static
focal_class.parameters: (int year)
focal_class.return: int
focal_class.signature: int verify(int year)
focal_class.class_method_signature: Day.verify(int year, final int month, final int day)
focal_class.full_signature: static boolean verify(int year, final int month, final int day)
focal_class.identifier: verify
focal_class.modifiers: static
focal_class.parameters: (int year, final int month, final int day)
focal_class.return: boolean
focal_class.signature: boolean verify(int year, final int month, final int day)
focal_class.class_method_signature: Day.getNumberOfDaysByMonth(final int year, final int month)
focal_class.full_signature: public static int getNumberOfDaysByMonth(final int year, final int month)
focal_class.identifier: getNumberOfDaysByMonth
focal_class.modifiers: public static
focal_class.parameters: (final int year, final int month)
focal_class.return: int
focal_class.signature: int getNumberOfDaysByMonth(final int year, final int month)
focal_class.class_method_signature: Day.isLeap(final int year)
focal_class.full_signature: public static boolean isLeap(final int year)
focal_class.identifier: isLeap
focal_class.modifiers: public static
focal_class.parameters: (final int year)
focal_class.return: boolean
focal_class.signature: boolean isLeap(final int year)
focal_class.class_method_signature: Day.Day(final Date d)
focal_class.full_signature: public  Day(final Date d)
focal_class.identifier: Day
focal_class.modifiers: public
focal_class.parameters: (final Date d)
focal_class.signature:  Day(final Date d)
focal_class.class_method_signature: Day.Day(final int day)
focal_class.full_signature:   Day(final int day)
focal_class.identifier: Day
focal_class.parameters: (final int day)
focal_class.signature:  Day(final int day)
focal_class.class_method_signature: Day.Day(final int year, final Month month, final int day)
focal_class.full_signature: public  Day(final int year, final Month month, final int day)
focal_class.identifier: Day
focal_class.modifiers: public
focal_class.parameters: (final int year, final Month month, final int day)
focal_class.signature:  Day(final int year, final Month month, final int day)
focal_class.class_method_signature: Day.compareTo(final Day o)
focal_class.full_signature: @Override public int compareTo(final Day o)
focal_class.identifier: compareTo
focal_class.modifiers: @Override public
focal_class.parameters: (final Day o)
focal_class.return: int
focal_class.signature: int compareTo(final Day o)
focal_class.class_method_signature: Day.contains(final Date dt)
focal_class.full_signature: @Override public boolean contains(final Date dt)
focal_class.identifier: contains
focal_class.modifiers: @Override public
focal_class.parameters: (final Date dt)
focal_class.return: boolean
focal_class.signature: boolean contains(final Date dt)
focal_class.class_method_signature: Day.difference(final Day d1)
focal_class.full_signature: public int difference(final Day d1)
focal_class.identifier: difference
focal_class.modifiers: public
focal_class.parameters: (final Day d1)
focal_class.return: int
focal_class.signature: int difference(final Day d1)
focal_class.class_method_signature: Day.equals(Object obj)
focal_class.full_signature: @Override public boolean equals(Object obj)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object obj)
focal_class.return: boolean
focal_class.signature: boolean equals(Object obj)
focal_class.class_method_signature: Day.equals(Day other)
focal_class.full_signature: private boolean equals(Day other)
focal_class.identifier: equals
focal_class.modifiers: private
focal_class.parameters: (Day other)
focal_class.return: boolean
focal_class.signature: boolean equals(Day other)
focal_class.class_method_signature: Day.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: Day.firstday()
focal_class.full_signature: @Override public Day firstday()
focal_class.identifier: firstday
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Day
focal_class.signature: Day firstday()
focal_class.class_method_signature: Day.getDayOfWeek()
focal_class.full_signature: public DayOfWeek getDayOfWeek()
focal_class.identifier: getDayOfWeek
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: DayOfWeek
focal_class.signature: DayOfWeek getDayOfWeek()
focal_class.class_method_signature: Day.getId()
focal_class.full_signature: public int getId()
focal_class.identifier: getId
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getId()
focal_class.class_method_signature: Day.getMonth()
focal_class.full_signature: public int getMonth()
focal_class.identifier: getMonth
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getMonth()
focal_class.class_method_signature: Day.getYear()
focal_class.full_signature: public int getYear()
focal_class.identifier: getYear
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getYear()
focal_class.class_method_signature: Day.isAfter(final Day d1)
focal_class.full_signature: public boolean isAfter(final Day d1)
focal_class.identifier: isAfter
focal_class.modifiers: public
focal_class.parameters: (final Day d1)
focal_class.return: boolean
focal_class.signature: boolean isAfter(final Day d1)
focal_class.class_method_signature: Day.isBefore(final Day d1)
focal_class.full_signature: public boolean isBefore(final Day d1)
focal_class.identifier: isBefore
focal_class.modifiers: public
focal_class.parameters: (final Day d1)
focal_class.return: boolean
focal_class.signature: boolean isBefore(final Day d1)
focal_class.class_method_signature: Day.isNotAfter(final Day d1)
focal_class.full_signature: public boolean isNotAfter(final Day d1)
focal_class.identifier: isNotAfter
focal_class.modifiers: public
focal_class.parameters: (final Day d1)
focal_class.return: boolean
focal_class.signature: boolean isNotAfter(final Day d1)
focal_class.class_method_signature: Day.isNotBefore(final Day d1)
focal_class.full_signature: public boolean isNotBefore(final Day d1)
focal_class.identifier: isNotBefore
focal_class.modifiers: public
focal_class.parameters: (final Day d1)
focal_class.return: boolean
focal_class.signature: boolean isNotBefore(final Day d1)
focal_class.class_method_signature: Day.isWorkingDay()
focal_class.full_signature: public boolean isWorkingDay()
focal_class.identifier: isWorkingDay
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isWorkingDay()
focal_class.class_method_signature: Day.lastday()
focal_class.full_signature: @Override public Day lastday()
focal_class.identifier: lastday
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Day
focal_class.signature: Day lastday()
focal_class.class_method_signature: Day.minus(final int ndays)
focal_class.full_signature: public Day minus(final int ndays)
focal_class.identifier: minus
focal_class.modifiers: public
focal_class.parameters: (final int ndays)
focal_class.return: Day
focal_class.signature: Day minus(final int ndays)
focal_class.class_method_signature: Day.plus(final int ndays)
focal_class.full_signature: public Day plus(final int ndays)
focal_class.identifier: plus
focal_class.modifiers: public
focal_class.parameters: (final int ndays)
focal_class.return: Day
focal_class.signature: Day plus(final int ndays)
focal_class.class_method_signature: Day.getTime()
focal_class.full_signature: @NewObject public Date getTime()
focal_class.identifier: getTime
focal_class.modifiers: @NewObject public
focal_class.parameters: ()
focal_class.return: Date
focal_class.signature: Date getTime()
focal_class.class_method_signature: Day.getTimeInMillis()
focal_class.full_signature: public long getTimeInMillis()
focal_class.identifier: getTimeInMillis
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getTimeInMillis()
focal_class.class_method_signature: Day.toCalendar()
focal_class.full_signature: @NewObject public GregorianCalendar toCalendar()
focal_class.identifier: toCalendar
focal_class.modifiers: @NewObject public
focal_class.parameters: ()
focal_class.return: GregorianCalendar
focal_class.signature: GregorianCalendar toCalendar()
focal_class.class_method_signature: Day.toInternalCalendar()
focal_class.full_signature: private GregorianCalendar toInternalCalendar()
focal_class.identifier: toInternalCalendar
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: GregorianCalendar
focal_class.signature: GregorianCalendar toInternalCalendar()
focal_class.class_method_signature: Day.initCalendar(GregorianCalendar cal)
focal_class.full_signature: private GregorianCalendar initCalendar(GregorianCalendar cal)
focal_class.identifier: initCalendar
focal_class.modifiers: private
focal_class.parameters: (GregorianCalendar cal)
focal_class.return: GregorianCalendar
focal_class.signature: GregorianCalendar initCalendar(GregorianCalendar cal)
focal_class.class_method_signature: Day.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: Day.fromString(String s)
focal_class.full_signature: public static Day fromString(String s)
focal_class.identifier: fromString
focal_class.modifiers: public static
focal_class.parameters: (String s)
focal_class.return: Day
focal_class.signature: Day fromString(String s)
focal_method.body: @NewObject
      public Date getTime() {
          return new Date(getTimeInMillis());
      }
focal_method.class_method_signature: Day.getTime()
focal_method.full_signature: @NewObject public Date getTime()
focal_method.identifier: getTime
focal_method.invocations: getTimeInMillis
focal_method.modifiers: @NewObject public
focal_method.parameters: ()
focal_method.return: Date
focal_method.signature: Date getTime()