.class public abstract Lkotlin/time/AbstractDoubleTimeSource; .super Ljava/lang/Object; .source "TimeSources.kt" # interfaces .implements Lkotlin/time/TimeSource$WithComparableMarks; # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lkotlin/time/AbstractDoubleTimeSource$DoubleTimeMark; } .end annotation .annotation runtime Lkotlin/Deprecated; message = "Using AbstractDoubleTimeSource is no longer recommended, use AbstractLongTimeSource instead." .end annotation .annotation runtime Lkotlin/Metadata; d1 = { "\u0000 \n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0004\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0006\n\u0002\u0008\u0002\u0008\'\u0018\u00002\u00020\u0001:\u0001\u000bB\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\u0002\u0010\u0004J\u0008\u0010\u0007\u001a\u00020\u0008H\u0016J\u0008\u0010\t\u001a\u00020\nH$R\u0014\u0010\u0002\u001a\u00020\u0003X\u0084\u0004\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0005\u0010\u0006\u00a8\u0006\u000c" } d2 = { "Lkotlin/time/AbstractDoubleTimeSource;", "Lkotlin/time/TimeSource$WithComparableMarks;", "unit", "Lkotlin/time/DurationUnit;", "(Lkotlin/time/DurationUnit;)V", "getUnit", "()Lkotlin/time/DurationUnit;", "markNow", "Lkotlin/time/ComparableTimeMark;", "read", "", "DoubleTimeMark", "kotlin-stdlib" } k = 0x1 mv = { 0x1, 0x9, 0x0 } xi = 0x30 .end annotation # instance fields .field private final unit:Lkotlin/time/DurationUnit; # direct methods .method public constructor (Lkotlin/time/DurationUnit;)V .locals 1 const-string v0, "unit" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 95 invoke-direct {p0}, Ljava/lang/Object;->()V iput-object p1, p0, Lkotlin/time/AbstractDoubleTimeSource;->unit:Lkotlin/time/DurationUnit; return-void .end method # virtual methods .method protected final getUnit()Lkotlin/time/DurationUnit; .locals 0 iget-object p0, p0, Lkotlin/time/AbstractDoubleTimeSource;->unit:Lkotlin/time/DurationUnit; return-object p0 .end method .method public markNow()Lkotlin/time/ComparableTimeMark; .locals 8 .line 131 new-instance v7, Lkotlin/time/AbstractDoubleTimeSource$DoubleTimeMark; invoke-virtual {p0}, Lkotlin/time/AbstractDoubleTimeSource;->read()D move-result-wide v1 sget-object v0, Lkotlin/time/Duration;->Companion:Lkotlin/time/Duration$Companion; invoke-virtual {v0}, Lkotlin/time/Duration$Companion;->getZERO-UwyO8pc()J move-result-wide v4 const/4 v6, 0x0 move-object v0, v7 move-object v3, p0 invoke-direct/range {v0 .. v6}, Lkotlin/time/AbstractDoubleTimeSource$DoubleTimeMark;->(DLkotlin/time/AbstractDoubleTimeSource;JLkotlin/jvm/internal/DefaultConstructorMarker;)V check-cast v7, Lkotlin/time/ComparableTimeMark; return-object v7 .end method .method public bridge synthetic markNow()Lkotlin/time/TimeMark; .locals 0 .line 95 invoke-virtual {p0}, Lkotlin/time/AbstractDoubleTimeSource;->markNow()Lkotlin/time/ComparableTimeMark; move-result-object p0 check-cast p0, Lkotlin/time/TimeMark; return-object p0 .end method .method protected abstract read()D .end method