PreferenceTimer.java 691 Bytes
package com.bitstrips.imoji.util;

public class PreferenceTimer
{
  private final PreferenceUtils a;
  private final int b;
  
  public PreferenceTimer(PreferenceUtils paramPreferenceUtils, int paramInt)
  {
    this.a = paramPreferenceUtils;
    this.b = paramInt;
  }
  
  public void setTimestamp(long paramLong)
  {
    this.a.putLong(this.b, paramLong);
  }
  
  public long timeSinceLastUpdateInMillisec()
  {
    return System.currentTimeMillis() - this.a.getLong(this.b, 0L).longValue();
  }
}


/* Location:              /home/merong/decompile/hackery-dex2jar.jar!/com/bitstrips/imoji/util/PreferenceTimer.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */