Skip to content

Instantly share code, notes, and snippets.

@jezinka
Created August 29, 2018 09:17
public boolean isSensorDead() {
return new Date().getTime() - this.timestamp > 3_600_000;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment