DateTimeNode.smali
.class public Lcom/cm/reminder/asr/helper/v2/model/DateTimeNode;
.super Ljava/lang/Object;
.source "DateTimeNode.java"
# interfaces
.implements Ljava/io/Serializable;
.implements Ljava/lang/Comparable;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Ljava/io/Serializable;",
"Ljava/lang/Comparable",
"<",
"Lcom/cm/reminder/asr/helper/v2/model/DateTimeNode;",
">;"
}
.end annotation
# static fields
.field public static final TYPE_DATE:I = 0x0
.field public static final TYPE_LOCATOR:I = 0x3
.field public static final TYPE_TIME:I = 0x1
# instance fields
.field public index:I
.field public locatorText:Ljava/lang/String;
.field public resultText:Ljava/lang/String;
.field public text:Ljava/lang/String;
.field public type:I
# direct methods
.method public constructor <init>()V
.registers 2
.prologue
.line 12
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 22
const/4 v0, 0x0
iput v0, p0, Lcom/cm/reminder/asr/helper/v2/model/DateTimeNode;->type:I
return-void
.end method
# virtual methods
.method public compareTo(Lcom/cm/reminder/asr/helper/v2/model/DateTimeNode;)I
.registers 7
.param p1 # Lcom/cm/reminder/asr/helper/v2/model/DateTimeNode;
.annotation build Landroid/support/annotation/NonNull;
.end annotation
.end param
.prologue
const/4 v3, 0x1
const/4 v1, 0x0
const/4 v2, -0x1
.line 41
instance-of v0, p1, Lcom/cm/reminder/asr/helper/v2/model/DateTimeNode;
if-nez v0, :cond_a
const/high16 v0, -0x80000000
.line 69
:cond_9
:goto_9
return v0
.line 50
:cond_a
iget v0, p0, Lcom/cm/reminder/asr/helper/v2/model/DateTimeNode;->index:I
iget v4, p1, Lcom/cm/reminder/asr/helper/v2/model/DateTimeNode;->index:I
sub-int/2addr v0, v4
.line 51
if-nez v0, :cond_9
.line 54
iget-object v0, p1, Lcom/cm/reminder/asr/helper/v2/model/DateTimeNode;->resultText:Ljava/lang/String;
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
if-eqz v0, :cond_23
iget-object v0, p1, Lcom/cm/reminder/asr/helper/v2/model/DateTimeNode;->resultText:Ljava/lang/String;
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
if-eqz v0, :cond_23
move v0, v1
goto :goto_9
.line 56
:cond_23
iget-object v0, p1, Lcom/cm/reminder/asr/helper/v2/model/DateTimeNode;->resultText:Ljava/lang/String;
if-eqz v0, :cond_2d
iget-object v0, p0, Lcom/cm/reminder/asr/helper/v2/model/DateTimeNode;->resultText:Ljava/lang/String;
if-nez v0, :cond_2d
move v0, v2
goto :goto_9
.line 57
:cond_2d
iget-object v0, p1, Lcom/cm/reminder/asr/helper/v2/model/DateTimeNode;->resultText:Ljava/lang/String;
if-nez v0, :cond_37
iget-object v0, p0, Lcom/cm/reminder/asr/helper/v2/model/DateTimeNode;->resultText:Ljava/lang/String;
if-eqz v0, :cond_37
move v0, v3
goto :goto_9
.line 60
:cond_37
iget-object v0, p1, Lcom/cm/reminder/asr/helper/v2/model/DateTimeNode;->locatorText:Ljava/lang/String;
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
if-eqz v0, :cond_49
iget-object v0, p1, Lcom/cm/reminder/asr/helper/v2/model/DateTimeNode;->locatorText:Ljava/lang/String;
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
if-eqz v0, :cond_49
move v0, v1
goto :goto_9
.line 62
:cond_49
iget-object v0, p1, Lcom/cm/reminder/asr/helper/v2/model/DateTimeNode;->locatorText:Ljava/lang/String;
if-eqz v0, :cond_53
iget-object v0, p0, Lcom/cm/reminder/asr/helper/v2/model/DateTimeNode;->locatorText:Ljava/lang/String;
if-nez v0, :cond_53
move v0, v2
goto :goto_9
.line 63
:cond_53
iget-object v0, p1, Lcom/cm/reminder/asr/helper/v2/model/DateTimeNode;->locatorTe