test_class.declarator: logger = LoggerFactory.getLogger(PeriodFormatterUtilTest.class)
test_class.modifier: private static final
test_class.original_string: private static final Logger logger = LoggerFactory.getLogger(PeriodFormatterUtilTest.class);
test_class.type: Logger
test_class.var_name: logger
test_class.declarator: UPTIME_LESS_THAN_9_DAYS = 59*900*59*23*10
test_class.modifier: public static
test_class.original_string: public static long UPTIME_LESS_THAN_9_DAYS = 59*900*59*23*10;
test_class.type: long
test_class.var_name: UPTIME_LESS_THAN_9_DAYS
test_class.declarator: UPTIME_LESS_THAN_3_DAYS = 59*900*59*23*3
test_class.modifier: public static
test_class.original_string: public static long UPTIME_LESS_THAN_3_DAYS = 59*900*59*23*3;
test_class.type: long
test_class.var_name: UPTIME_LESS_THAN_3_DAYS
test_class.declarator: UPTIME_LESS_THAN_2_DAYS = 59*1000*59*24*2
test_class.modifier: public static
test_class.original_string: public static long UPTIME_LESS_THAN_2_DAYS = 59*1000*59*24*2;
test_class.type: long
test_class.var_name: UPTIME_LESS_THAN_2_DAYS
test_class.declarator: UPTIME_LESS_THAN_1_DAY = 59*900*59*23
test_class.modifier: public static
test_class.original_string: public static long UPTIME_LESS_THAN_1_DAY = 59*900*59*23;
test_class.type: long
test_class.var_name: UPTIME_LESS_THAN_1_DAY
test_class.declarator: UPTIME_53_SECS = 59*900
test_class.modifier: public static
test_class.original_string: public static long UPTIME_53_SECS = 59*900;
test_class.type: long
test_class.var_name: UPTIME_53_SECS
test_class.file: ch-commons-util/src/test/java/com/cloudhopper/commons/util/PeriodFormatterUtilTest.java
test_class.identifier: PeriodFormatterUtilTest
test_case.body: @Test
      public void standardUptimeStyle() throws Exception {
          // calls a helper method, which actually uses all the other methods in the utility class
          Assert.assertEquals("8 days 8 hours 9 mins 27 secs", PeriodFormatterUtil.toStandardUptimeStyleString(UPTIME_LESS_THAN_9_DAYS));
          Assert.assertEquals("2 days 12 hours 2 mins 50 secs", PeriodFormatterUtil.toStandardUptimeStyleString(UPTIME_LESS_THAN_3_DAYS));
          Assert.assertEquals("1 day 22 hours 24 mins 48 secs", PeriodFormatterUtil.toStandardUptimeStyleString(UPTIME_LESS_THAN_2_DAYS));
          Assert.assertEquals("0 days 20 hours 0 mins 56 secs", PeriodFormatterUtil.toStandardUptimeStyleString(UPTIME_LESS_THAN_1_DAY));
          Assert.assertEquals("0 days 0 hours 0 mins 53 secs", PeriodFormatterUtil.toStandardUptimeStyleString(UPTIME_53_SECS));
      }
test_case.class_method_signature: PeriodFormatterUtilTest.standardUptimeStyle()
test_case.full_signature: @Test public void standardUptimeStyle()
test_case.identifier: standardUptimeStyle
test_case.invocations: assertEquals toStandardUptimeStyleString assertEquals toStandardUptimeStyleString assertEquals toStandardUptimeStyleString assertEquals toStandardUptimeStyleString assertEquals toStandardUptimeStyleString
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void standardUptimeStyle()
focal_class.declarator: linuxUptimeStyle
focal_class.modifier: private static
focal_class.original_string: private static PeriodFormatter linuxUptimeStyle;
focal_class.type: PeriodFormatter
focal_class.var_name: linuxUptimeStyle
focal_class.declarator: standardUptimeStyle
focal_class.modifier: private static
focal_class.original_string: private static PeriodFormatter standardUptimeStyle;
focal_class.type: PeriodFormatter
focal_class.var_name: standardUptimeStyle
focal_class.declarator: dayHourMinSecPeriodType
focal_class.modifier: private static
focal_class.original_string: private static PeriodType dayHourMinSecPeriodType;
focal_class.type: PeriodType
focal_class.var_name: dayHourMinSecPeriodType
focal_class.file: ch-commons-util/src/main/java/com/cloudhopper/commons/util/PeriodFormatterUtil.java
focal_class.identifier: PeriodFormatterUtil
focal_class.class_method_signature: PeriodFormatterUtil.getDayHourMinSecPeriodType()
focal_class.full_signature: public static PeriodType getDayHourMinSecPeriodType()
focal_class.identifier: getDayHourMinSecPeriodType
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: PeriodType
focal_class.signature: PeriodType getDayHourMinSecPeriodType()
focal_class.class_method_signature: PeriodFormatterUtil.createDayHourMinSecPeriod(long durationInMillis)
focal_class.full_signature: public static Period createDayHourMinSecPeriod(long durationInMillis)
focal_class.identifier: createDayHourMinSecPeriod
focal_class.modifiers: public static
focal_class.parameters: (long durationInMillis)
focal_class.return: Period
focal_class.signature: Period createDayHourMinSecPeriod(long durationInMillis)
focal_class.class_method_signature: PeriodFormatterUtil.getLinuxUptimeStyle()
focal_class.full_signature: public static PeriodFormatter getLinuxUptimeStyle()
focal_class.identifier: getLinuxUptimeStyle
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: PeriodFormatter
focal_class.signature: PeriodFormatter getLinuxUptimeStyle()
focal_class.class_method_signature: PeriodFormatterUtil.getStandardUptimeStyle()
focal_class.full_signature: public static PeriodFormatter getStandardUptimeStyle()
focal_class.identifier: getStandardUptimeStyle
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: PeriodFormatter
focal_class.signature: PeriodFormatter getStandardUptimeStyle()
focal_class.class_method_signature: PeriodFormatterUtil.toLinuxUptimeStyleString(long durationInMillis)
focal_class.full_signature: public static String toLinuxUptimeStyleString(long durationInMillis)
focal_class.identifier: toLinuxUptimeStyleString
focal_class.modifiers: public static
focal_class.parameters: (long durationInMillis)
focal_class.return: String
focal_class.signature: String toLinuxUptimeStyleString(long durationInMillis)
focal_class.class_method_signature: PeriodFormatterUtil.toStandardUptimeStyleString(long durationInMillis)
focal_class.full_signature: public static String toStandardUptimeStyleString(long durationInMillis)
focal_class.identifier: toStandardUptimeStyleString
focal_class.modifiers: public static
focal_class.parameters: (long durationInMillis)
focal_class.return: String
focal_class.signature: String toStandardUptimeStyleString(long durationInMillis)
focal_method.body: public static String toStandardUptimeStyleString(long durationInMillis) {
          return getStandardUptimeStyle().print(createDayHourMinSecPeriod(durationInMillis));
      }
focal_method.class_method_signature: PeriodFormatterUtil.toStandardUptimeStyleString(long durationInMillis)
focal_method.full_signature: public static String toStandardUptimeStyleString(long durationInMillis)
focal_method.identifier: toStandardUptimeStyleString
focal_method.invocations: print getStandardUptimeStyle createDayHourMinSecPeriod
focal_method.modifiers: public static
focal_method.parameters: (long durationInMillis)
focal_method.return: String
focal_method.signature: String toStandardUptimeStyleString(long durationInMillis)