-
public final class ExtensionsKt
-
-
Method Summary
Modifier and Type Method Description final static IntegerparseColor(String $self, Integer default)final static StringputAlphaHexInFront(String $self)An alpha color from API has a format #RRGGBBAA like this #EA6C134C But Android wants the format #AARRGGBB so we need to provide this #4CEA6C13 final static StringtoFormattedDate(String $self)final static BooleanisSameDay(Date $self, Date other)final static BooleanisYesterday(Date $self)final static LonggetTimeDrift(String $self, String localDate, Long tolerance)-
-
Method Detail
-
parseColor
final static Integer parseColor(String $self, Integer default)
-
putAlphaHexInFront
final static String putAlphaHexInFront(String $self)
An alpha color from API has a format #RRGGBBAA like this #EA6C134C But Android wants the format #AARRGGBB so we need to provide this #4CEA6C13
-
toFormattedDate
final static String toFormattedDate(String $self)
-
isYesterday
final static Boolean isYesterday(Date $self)
-
getTimeDrift
final static Long getTimeDrift(String $self, String localDate, Long tolerance)
-
-
-
-