@Test public void testToDisplayTimeWithNegativeTimeOffSet() { final String input = "time(\"22:30:10-03:00\")"; final String expected = "22:30:10 UTC -03:00"; final String actual = formatter.toDisplay(input); assertEquals(expected, actual); }
public String toDisplay(final String input) { final String timeString = removePrefixAndSuffix(input); return formatTime(timeString); }
TimeValueFormatter { public String toDisplay(final String input) { final String timeString = removePrefixAndSuffix(input); return formatTime(timeString); } }
TimeValueFormatter { public String toDisplay(final String input) { final String timeString = removePrefixAndSuffix(input); return formatTime(timeString); } @Inject  TimeValueFormatter(final TimeZoneProvider timeZoneProvider); }
TimeValueFormatter { public String toDisplay(final String input) { final String timeString = removePrefixAndSuffix(input); return formatTime(timeString); } @Inject  TimeValueFormatter(final TimeZoneProvider timeZoneProvider); String toDisplay(final String input); String buildRawValue(final String time,
                                final String selectedTimeZone); TimeValue getTimeValue(final String val); String toRaw(final String input); String getTime(final String raw); String appendPrefixAndSuffix(final String input); }
TimeValueFormatter { public String toDisplay(final String input) { final String timeString = removePrefixAndSuffix(input); return formatTime(timeString); } @Inject  TimeValueFormatter(final TimeZoneProvider timeZoneProvider); String toDisplay(final String input); String buildRawValue(final String time,
                                final String selectedTimeZone); TimeValue getTimeValue(final String val); String toRaw(final String input); String getTime(final String raw); String appendPrefixAndSuffix(final String input);  }