Skip to content

Commit 8114af4

Browse files
absurdlylongusernameStypox
authored andcommitted
[Localization] Add toString to DateWrapper for better debugging
1 parent 41b77ef commit 8114af4

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

  • extractor/src/main/java/org/schabi/newpipe/extractor/localization

extractor/src/main/java/org/schabi/newpipe/extractor/localization/DateWrapper.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,12 @@ public OffsetDateTime offsetDateTime() {
6969
public boolean isApproximation() {
7070
return isApproximation;
7171
}
72+
73+
@Override
74+
public String toString() {
75+
return "DateWrapper{"
76+
+ "offsetDateTime=" + offsetDateTime
77+
+ ", isApproximation=" + isApproximation
78+
+ '}';
79+
}
7280
}

0 commit comments

Comments
 (0)