MCPcopy Create free account
hub / github.com/FongMi/CatVodSpider / getDate

Method getDate

app/src/main/java/com/github/catvod/bean/alist/Item.java:88–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86 }
87
88 public Date getDate() {
89 try {
90 SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ", Locale.getDefault());
91 return format.parse(getModified());
92 } catch (Exception e) {
93 return new Date();
94 }
95 }
96
97 public boolean isFolder() {
98 return getType() == 1;

Callers 1

compareMethod · 0.80

Calls 2

getModifiedMethod · 0.95
parseMethod · 0.45

Tested by

no test coverage detected