ModV2.0.4 v1.86526672844804版本的 MD5 值为:ab8437a2d03fc69805a8b4199bd7fecb
以下内容为反编译后的 ab.java 源代码,内容仅作参考
package com.joaomgcd.taskerm.action.e;
import androidx.core.app.NotificationCompat;
import com.joaomgcd.taskerm.util.an;
import com.joaomgcd.taskerm.util.ao;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import net.danlew.android.joda.R;
public final class ab extends com.joaomgcd.taskerm.helper.actions.execute.x {
private l f5215a;
private String f5216b;
private String f5217c;
private String f5218d;
private String f5219e;
private String f5220f;
private String g;
private Boolean h;
private Boolean i;
private ak j;
private String k;
private com.joaomgcd.taskerm.inputoutput.j l;
public ab() {
this(null, null, null, null, null, null, null, null, null, null, null, null, 4095, null);
}
@com.joaomgcd.taskerm.inputoutput.b(a = 9, e = R.string.do_maths_parse_format_datetime)
public static void doMaths$annotations() {
}
@com.joaomgcd.taskerm.inputoutput.b(a = 8)
public static void getAllDetails$annotations() {
}
@com.joaomgcd.taskerm.inputoutput.b(a = 3, d = true, e = R.string.input_dates_format_help)
public static void inputFormats$annotations() {
}
@com.joaomgcd.taskerm.inputoutput.b(a = 4, e = R.string.separator_comma_or_newnline_by_default)
public static void inputSeparator$annotations() {
}
@com.joaomgcd.taskerm.inputoutput.b(a = 1)
public static void inputType$annotations() {
}
@com.joaomgcd.taskerm.inputoutput.b(a = 2, d = true, e = R.string.input_dates_help)
public static void inputs$annotations() {
}
@com.joaomgcd.taskerm.inputoutput.b(a = 0, e = R.string.output_dates_help)
public static void outputClass$annotations() {
}
@com.joaomgcd.taskerm.inputoutput.b(a = 6, e = R.string.separator_comma_or_newnline_by_default)
public static void outputFormatSeparator$annotations() {
}
@com.joaomgcd.taskerm.inputoutput.b(a = 5, d = true, e = R.string.output_dates_format_help, g = "https://www.joda.org/joda-time/apidocs/org/joda/time/format/DateTimeFormat.html")
public static void outputFormats$annotations() {
}
@com.joaomgcd.taskerm.inputoutput.b(a = 7, d = true, e = R.string.output_dates_format_variable_names_help)
public static void outputFormattedVariableName$annotations() {
}
@com.joaomgcd.taskerm.inputoutput.b(a = 11, e = R.string.output_offset_explained)
public static void outputOffset$annotations() {
}
@com.joaomgcd.taskerm.inputoutput.b(a = 10, e = R.string.output_offset_type_explained)
public static void outputOffsetType$annotations() {
}
public ab(l lVar, String str, String str2, String str3, String str4, String str5, String str6, Boolean bool, Boolean bool2, ak akVar, String str7, com.joaomgcd.taskerm.inputoutput.j jVar, int i, c.f.b.g gVar) {
this((i & 1) != 0 ? null : lVar, (i & 2) != 0 ? null : str, (i & 4) != 0 ? null : str2, (i & 8) != 0 ? null : str3, (i & 16) != 0 ? null : str4, (i & 32) != 0 ? null : str5, (i & 64) != 0 ? null : str6, (i & 128) != 0 ? null : bool, (i & 256) != 0 ? null : bool2, (i & NotificationCompat.FLAG_GROUP_SUMMARY) != 0 ? null : akVar, (i & 1024) != 0 ? null : str7, (i & 2048) != 0 ? new com.joaomgcd.taskerm.inputoutput.j() : jVar);
}
public final l getInputType() {
return this.f5215a;
}
public final void setInputType(l lVar) {
this.f5215a = lVar;
}
public final String getInputs() {
return this.f5216b;
}
public final void setInputs(String str) {
this.f5216b = str;
}
public final String getInputFormats() {
return this.f5217c;
}
public final void setInputFormats(String str) {
this.f5217c = str;
}
public final String getInputSeparator() {
return this.f5218d;
}
public final void setInputSeparator(String str) {
this.f5218d = str;
}
public final String getOutputFormats() {
return this.f5219e;
}
public final void setOutputFormats(String str) {
this.f5219e = str;
}
public final String getOutputFormatSeparator() {
return this.f5220f;
}
public final void setOutputFormatSeparator(String str) {
this.f5220f = str;
}
public final String getOutputFormattedVariableName() {
return this.g;
}
public final void setOutputFormattedVariableName(String str) {
this.g = str;
}
public final Boolean getGetAllDetails() {
return this.h;
}
public final void setGetAllDetails(Boolean bool) {
this.h = bool;
}
public final Boolean getDoMaths() {
return this.i;
}
public final void setDoMaths(Boolean bool) {
this.i = bool;
}
public final ak getOutputOffsetType() {
return this.j;
}
public final void setOutputOffsetType(ak akVar) {
this.j = akVar;
}
public final String getOutputOffset() {
return this.k;
}
public final void setOutputOffset(String str) {
this.k = str;
}
public final com.joaomgcd.taskerm.inputoutput.j getOutputClass() {
return this.l;
}
public final void setOutputClass(com.joaomgcd.taskerm.inputoutput.j jVar) {
this.l = jVar;
}
public ab(l lVar, String str, String str2, String str3, String str4, String str5, String str6, Boolean bool, Boolean bool2, ak akVar, String str7, com.joaomgcd.taskerm.inputoutput.j jVar) {
this.f5215a = lVar;
this.f5216b = str;
this.f5217c = str2;
this.f5218d = str3;
this.f5219e = str4;
this.f5220f = str5;
this.g = str6;
this.h = bool;
this.i = bool2;
this.j = akVar;
this.k = str7;
this.l = jVar;
}
public final List<String> getFormattedVariableNames() {
List a2;
String b2;
String A = ao.A(this.g);
if (A != null) {
b2 = c.b(this.g);
List<String> b3 = c.l.n.b((CharSequence) A, new String[]{b2}, false, 0, 6, (Object) null);
if (b3 != null) {
ArrayList arrayList = new ArrayList();
for (String str : b3) {
String A2 = ao.A(str);
String r = A2 != null ? ao.r(A2) : null;
if (r != null) {
arrayList.add(r);
}
}
a2 = an.a((List) arrayList);
}
}
a2 = c.a.j.a("formatted");
List list = a2;
ArrayList arrayList2 = new ArrayList(c.a.j.a((Iterable) list, 10));
Iterator it = list.iterator();
while (it.hasNext()) {
arrayList2.add("%" + ((String) it.next()));
}
return arrayList2;
}
public final ak getOutputOffsetTypeNotNull() {
ak akVar = this.j;
return akVar != null ? akVar : ak.None;
}
public final boolean getOutputHasOffset() {
return getOutputOffsetTypeNotNull() != ak.None;
}
public final List<Integer> getOutputOffsetsSeconds() {
String b2;
int i;
ak outputOffsetTypeNotNull = getOutputOffsetTypeNotNull();
if (outputOffsetTypeNotNull == ak.None) {
return c.a.j.a();
}
int ordinal = outputOffsetTypeNotNull.ordinal();
String str = this.k;
if (str != null) {
String str2 = str;
b2 = c.b(this.k);
List b3 = c.l.n.b((CharSequence) str2, new String[]{b2}, false, 0, 6, (Object) null);
if (b3 != null) {
List<String> list = b3;
ArrayList arrayList = new ArrayList(c.a.j.a((Iterable) list, 10));
for (String str3 : list) {
Integer c2 = c.l.n.c(str3);
if (c2 != null) {
i = c2.intValue();
if (ordinal >= ak.Minutes.ordinal()) {
i *= 60;
}
if (ordinal >= ak.Hours.ordinal()) {
i *= 60;
}
if (ordinal >= ak.Days.ordinal()) {
i *= 24;
}
} else {
i = 0;
}
arrayList.add(Integer.valueOf(i));
}
return arrayList;
}
}
return c.a.j.a();
}
public final boolean getDoMathsNotNull() {
Boolean bool = this.i;
if (bool != null) {
return bool.booleanValue();
}
return false;
}
public final boolean getHasCustomInput() {
return this.f5215a == l.Custom;
}
}