mirror of
https://github.com/TeamNewPipe/NewPipeExtractor.git
synced 2024-12-14 14:20:33 +05:30
Call existing constructor in DateWrapper.
This commit is contained in:
parent
fe31a90cb3
commit
9cf9e7e980
@ -28,8 +28,7 @@ public class DateWrapper implements Serializable {
|
|||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public DateWrapper(@NonNull Calendar calendar, boolean isApproximation) {
|
public DateWrapper(@NonNull Calendar calendar, boolean isApproximation) {
|
||||||
offsetDateTime = OffsetDateTime.ofInstant(calendar.toInstant(), ZoneOffset.UTC);
|
this(OffsetDateTime.ofInstant(calendar.toInstant(), ZoneOffset.UTC), isApproximation);
|
||||||
this.isApproximation = isApproximation;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public DateWrapper(@NonNull OffsetDateTime offsetDateTime) {
|
public DateWrapper(@NonNull OffsetDateTime offsetDateTime) {
|
||||||
|
Loading…
Reference in New Issue
Block a user