Commit 8faee0b
authored
isUsingNetworkProvidedTime()
Useful in situations where you want to verify that the device has a correct time set, to avoid fraud, or if you want to prevent the user from messing with the time and abusing your "one-time" and "expiring" features.1 parent 64555be commit 8faee0bCopy full SHA for 8faee0b
1 file changed
+13Lines changed: 13 additions & 0 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- lib/utilcode/src/main/java/com/blankj/utilcode/util
Expand file treeCollapse file tree
Open diff view settings
Collapse file
lib/utilcode/src/main/java/com/blankj/utilcode/util/TimeUtils.java
Copy file name to clipboardExpand all lines: lib/utilcode/src/main/java/com/blankj/utilcode/util/TimeUtils.java+13Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
36 | 36 | |
37 | 37 | |
38 | 38 | |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
39 | 52 | |
40 | 53 | |
41 | 54 | |
|
0 commit comments