test_class.declarator: TEST_YEAR = 2014
test_class.modifier: private static final
test_class.original_string: private static final int TEST_YEAR = 2014;
test_class.type: int
test_class.var_name: TEST_YEAR
test_class.declarator: TEST_MONTH_OF_YEAR = 4
test_class.modifier: private static final
test_class.original_string: private static final int TEST_MONTH_OF_YEAR = 4;
test_class.type: int
test_class.var_name: TEST_MONTH_OF_YEAR
test_class.declarator: TEST_DAY_OF_MONTH = 18
test_class.modifier: private static final
test_class.original_string: private static final int TEST_DAY_OF_MONTH = 18;
test_class.type: int
test_class.var_name: TEST_DAY_OF_MONTH
test_class.declarator: TEST_HOUR_OF_DAY = 0
test_class.modifier: private static final
test_class.original_string: private static final int TEST_HOUR_OF_DAY = 0;
test_class.type: int
test_class.var_name: TEST_HOUR_OF_DAY
test_class.declarator: TEST_MINUTE_OF_HOUR = 15
test_class.modifier: private static final
test_class.original_string: private static final int TEST_MINUTE_OF_HOUR = 15;
test_class.type: int
test_class.var_name: TEST_MINUTE_OF_HOUR
test_class.declarator: TEST_SECOND_OF_MINUTE = 25
test_class.modifier: private static final
test_class.original_string: private static final int TEST_SECOND_OF_MINUTE = 25;
test_class.type: int
test_class.var_name: TEST_SECOND_OF_MINUTE
test_class.declarator: TEST_DATETIME = new DateTime(TEST_YEAR, TEST_MONTH_OF_YEAR, TEST_DAY_OF_MONTH,
        TEST_HOUR_OF_DAY, TEST_MINUTE_OF_HOUR, TEST_SECOND_OF_MINUTE, DateTimeZone.UTC)
test_class.modifier: private static final
test_class.original_string: private static final DateTime TEST_DATETIME = new DateTime(TEST_YEAR, TEST_MONTH_OF_YEAR, TEST_DAY_OF_MONTH,
        TEST_HOUR_OF_DAY, TEST_MINUTE_OF_HOUR, TEST_SECOND_OF_MINUTE, DateTimeZone.UTC);
test_class.type: DateTime
test_class.var_name: TEST_DATETIME
test_class.declarator: fmt = DateTimeFormat.forPattern("yyyy-MM-dd HH:mm:ss")
test_class.modifier: private static final
test_class.original_string: private static final DateTimeFormatter fmt = DateTimeFormat.forPattern("yyyy-MM-dd HH:mm:ss");
test_class.type: DateTimeFormatter
test_class.var_name: fmt
test_class.file: tajo-common/src/test/java/org/apache/tajo/util/TestTimeStampUtil.java
test_class.identifier: TestTimeStampUtil
test_case.body: @Test
    public void testGetYear() {
      assertEquals(DateTime.parse("2014-01-01 00:00:00", fmt.withZoneUTC()).getMillis() * 1000,
          TimeStampUtil.getYear(TEST_DATETIME));
    }
test_case.class_method_signature: TestTimeStampUtil.testGetYear()
test_case.full_signature: @Test public void testGetYear()
test_case.identifier: testGetYear
test_case.invocations: assertEquals getMillis parse withZoneUTC getYear
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetYear()
focal_class.file: tajo-common/src/main/java/org/apache/tajo/util/TimeStampUtil.java
focal_class.identifier: TimeStampUtil
focal_class.class_method_signature: TimeStampUtil.getDay(DateTime dateTime)
focal_class.full_signature: public static long getDay(DateTime dateTime)
focal_class.identifier: getDay
focal_class.modifiers: public static
focal_class.parameters: (DateTime dateTime)
focal_class.return: long
focal_class.signature: long getDay(DateTime dateTime)
focal_class.class_method_signature: TimeStampUtil.getHour(DateTime dateTime)
focal_class.full_signature: public static long getHour(DateTime dateTime)
focal_class.identifier: getHour
focal_class.modifiers: public static
focal_class.parameters: (DateTime dateTime)
focal_class.return: long
focal_class.signature: long getHour(DateTime dateTime)
focal_class.class_method_signature: TimeStampUtil.getMinute(DateTime dateTime)
focal_class.full_signature: public static long getMinute(DateTime dateTime)
focal_class.identifier: getMinute
focal_class.modifiers: public static
focal_class.parameters: (DateTime dateTime)
focal_class.return: long
focal_class.signature: long getMinute(DateTime dateTime)
focal_class.class_method_signature: TimeStampUtil.getSecond(DateTime dateTime)
focal_class.full_signature: public static long getSecond(DateTime dateTime)
focal_class.identifier: getSecond
focal_class.modifiers: public static
focal_class.parameters: (DateTime dateTime)
focal_class.return: long
focal_class.signature: long getSecond(DateTime dateTime)
focal_class.class_method_signature: TimeStampUtil.getMonth(DateTime dateTime)
focal_class.full_signature: public static long getMonth(DateTime dateTime)
focal_class.identifier: getMonth
focal_class.modifiers: public static
focal_class.parameters: (DateTime dateTime)
focal_class.return: long
focal_class.signature: long getMonth(DateTime dateTime)
focal_class.class_method_signature: TimeStampUtil.getDayOfWeek(DateTime dateTime,int week)
focal_class.full_signature: public static long getDayOfWeek(DateTime dateTime,int week)
focal_class.identifier: getDayOfWeek
focal_class.modifiers: public static
focal_class.parameters: (DateTime dateTime,int week)
focal_class.return: long
focal_class.signature: long getDayOfWeek(DateTime dateTime,int week)
focal_class.class_method_signature: TimeStampUtil.getYear(DateTime dateTime)
focal_class.full_signature: public static long getYear(DateTime dateTime)
focal_class.identifier: getYear
focal_class.modifiers: public static
focal_class.parameters: (DateTime dateTime)
focal_class.return: long
focal_class.signature: long getYear(DateTime dateTime)
focal_class.class_method_signature: TimeStampUtil.getUTCDateTime(Int8Datum int8Datum)
focal_class.full_signature: public static DateTime getUTCDateTime(Int8Datum int8Datum)
focal_class.identifier: getUTCDateTime
focal_class.modifiers: public static
focal_class.parameters: (Int8Datum int8Datum)
focal_class.return: DateTime
focal_class.signature: DateTime getUTCDateTime(Int8Datum int8Datum)
focal_class.class_method_signature: TimeStampUtil.convertToMicroSeconds(DateTime dateTime)
focal_class.full_signature: public static long convertToMicroSeconds(DateTime dateTime)
focal_class.identifier: convertToMicroSeconds
focal_class.modifiers: public static
focal_class.parameters: (DateTime dateTime)
focal_class.return: long
focal_class.signature: long convertToMicroSeconds(DateTime dateTime)
focal_method.body: public static long getYear (DateTime dateTime) {
          return convertToMicroSeconds(dateTime.withTimeAtStartOfDay().withDate(dateTime.getYear(), 1, 1));
      }
focal_method.class_method_signature: TimeStampUtil.getYear(DateTime dateTime)
focal_method.full_signature: public static long getYear(DateTime dateTime)
focal_method.identifier: getYear
focal_method.invocations: convertToMicroSeconds withDate withTimeAtStartOfDay getYear
focal_method.modifiers: public static
focal_method.parameters: (DateTime dateTime)
focal_method.return: long
focal_method.signature: long getYear(DateTime dateTime)