test_class.file: lib/src/test/java/com/github/kevinsawicki/stocks/DateUtilsTest.java
test_class.identifier: DateUtilsTest
test_case.body: @Test
    public void yearStart() {
      Date date = DateUtils.yearStart();
      assertNotNull(date);
      GregorianCalendar calendar = new GregorianCalendar();
      calendar.setTime(date);
      assertEquals(1, calendar.get(DAY_OF_YEAR));
    }
test_case.class_method_signature: DateUtilsTest.yearStart()
test_case.full_signature: @Test public void yearStart()
test_case.identifier: yearStart
test_case.invocations: yearStart assertNotNull setTime assertEquals get
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void yearStart()
focal_class.file: lib/src/main/java/com/github/kevinsawicki/stocks/DateUtils.java
focal_class.identifier: DateUtils
focal_class.class_method_signature: DateUtils.today()
focal_class.full_signature: public static Date today()
focal_class.identifier: today
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Date
focal_class.signature: Date today()
focal_class.class_method_signature: DateUtils.yesterday()
focal_class.full_signature: public static Date yesterday()
focal_class.identifier: yesterday
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Date
focal_class.signature: Date yesterday()
focal_class.class_method_signature: DateUtils.addDays(final int days, final Calendar from)
focal_class.full_signature: public static Date addDays(final int days, final Calendar from)
focal_class.identifier: addDays
focal_class.modifiers: public static
focal_class.parameters: (final int days, final Calendar from)
focal_class.return: Date
focal_class.signature: Date addDays(final int days, final Calendar from)
focal_class.class_method_signature: DateUtils.addDays(final int days, final Date from)
focal_class.full_signature: public static Date addDays(final int days, final Date from)
focal_class.identifier: addDays
focal_class.modifiers: public static
focal_class.parameters: (final int days, final Date from)
focal_class.return: Date
focal_class.signature: Date addDays(final int days, final Date from)
focal_class.class_method_signature: DateUtils.addDays(final int days, final long from)
focal_class.full_signature: public static Date addDays(final int days, final long from)
focal_class.identifier: addDays
focal_class.modifiers: public static
focal_class.parameters: (final int days, final long from)
focal_class.return: Date
focal_class.signature: Date addDays(final int days, final long from)
focal_class.class_method_signature: DateUtils.addMonths(final int months, final Calendar from)
focal_class.full_signature: public static Date addMonths(final int months, final Calendar from)
focal_class.identifier: addMonths
focal_class.modifiers: public static
focal_class.parameters: (final int months, final Calendar from)
focal_class.return: Date
focal_class.signature: Date addMonths(final int months, final Calendar from)
focal_class.class_method_signature: DateUtils.addMonths(final int months, final Date from)
focal_class.full_signature: public static Date addMonths(final int months, final Date from)
focal_class.identifier: addMonths
focal_class.modifiers: public static
focal_class.parameters: (final int months, final Date from)
focal_class.return: Date
focal_class.signature: Date addMonths(final int months, final Date from)
focal_class.class_method_signature: DateUtils.addMonths(final int months, final long from)
focal_class.full_signature: public static Date addMonths(final int months, final long from)
focal_class.identifier: addMonths
focal_class.modifiers: public static
focal_class.parameters: (final int months, final long from)
focal_class.return: Date
focal_class.signature: Date addMonths(final int months, final long from)
focal_class.class_method_signature: DateUtils.addYears(final int years, final Calendar from)
focal_class.full_signature: public static Date addYears(final int years, final Calendar from)
focal_class.identifier: addYears
focal_class.modifiers: public static
focal_class.parameters: (final int years, final Calendar from)
focal_class.return: Date
focal_class.signature: Date addYears(final int years, final Calendar from)
focal_class.class_method_signature: DateUtils.addYears(final int years, final Date from)
focal_class.full_signature: public static Date addYears(final int years, final Date from)
focal_class.identifier: addYears
focal_class.modifiers: public static
focal_class.parameters: (final int years, final Date from)
focal_class.return: Date
focal_class.signature: Date addYears(final int years, final Date from)
focal_class.class_method_signature: DateUtils.addYears(final int years, final long from)
focal_class.full_signature: public static Date addYears(final int years, final long from)
focal_class.identifier: addYears
focal_class.modifiers: public static
focal_class.parameters: (final int years, final long from)
focal_class.return: Date
focal_class.signature: Date addYears(final int years, final long from)
focal_class.class_method_signature: DateUtils.addWeeks(final int weeks, final Calendar from)
focal_class.full_signature: public static Date addWeeks(final int weeks, final Calendar from)
focal_class.identifier: addWeeks
focal_class.modifiers: public static
focal_class.parameters: (final int weeks, final Calendar from)
focal_class.return: Date
focal_class.signature: Date addWeeks(final int weeks, final Calendar from)
focal_class.class_method_signature: DateUtils.addWeeks(final int weeks, final Date from)
focal_class.full_signature: public static Date addWeeks(final int weeks, final Date from)
focal_class.identifier: addWeeks
focal_class.modifiers: public static
focal_class.parameters: (final int weeks, final Date from)
focal_class.return: Date
focal_class.signature: Date addWeeks(final int weeks, final Date from)
focal_class.class_method_signature: DateUtils.addWeeks(final int weeks, final long from)
focal_class.full_signature: public static Date addWeeks(final int weeks, final long from)
focal_class.identifier: addWeeks
focal_class.modifiers: public static
focal_class.parameters: (final int weeks, final long from)
focal_class.return: Date
focal_class.signature: Date addWeeks(final int weeks, final long from)
focal_class.class_method_signature: DateUtils.yearStart()
focal_class.full_signature: public static Date yearStart()
focal_class.identifier: yearStart
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Date
focal_class.signature: Date yearStart()
focal_class.class_method_signature: DateUtils.yearEnd()
focal_class.full_signature: public static Date yearEnd()
focal_class.identifier: yearEnd
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Date
focal_class.signature: Date yearEnd()
focal_method.body: public static Date yearStart() {
      final GregorianCalendar calendar = new GregorianCalendar(US);
      calendar.set(DAY_OF_YEAR, 1);
      return calendar.getTime();
    }
focal_method.class_method_signature: DateUtils.yearStart()
focal_method.full_signature: public static Date yearStart()
focal_method.identifier: yearStart
focal_method.invocations: set getTime
focal_method.modifiers: public static
focal_method.parameters: ()
focal_method.return: Date
focal_method.signature: Date yearStart()