MCPcopy Create free account
hub / github.com/FongMi/TV / getTime

Method getTime

app/src/main/java/com/fongmi/android/tv/bean/EpgData.java:94–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

92 }
93
94 public String getTime() {
95 if (getStart().isEmpty() && getEnd().isEmpty()) return "";
96 return getStart() + " ~ " + getEnd();
97 }
98
99 public String getRange() {
100 return "clock=" + Formatters.EPG_RANGE.format(Instant.ofEpochMilli(getStartTime())) + "-" + Formatters.EPG_RANGE.format(Instant.ofEpochMilli(getEndTime()));

Callers 2

onBindViewHolderMethod · 0.95
onBindViewHolderMethod · 0.95

Calls 3

getStartMethod · 0.95
getEndMethod · 0.95
isEmptyMethod · 0.45

Tested by

no test coverage detected