mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-06 20:45:54 +01:00
add comment
This commit is contained in:
parent
feb9510b9d
commit
bc33d0b81f
1 changed files with 2 additions and 0 deletions
|
@ -415,6 +415,8 @@ public class Utils {
|
|||
|
||||
public static long getCurSeconds()
|
||||
{
|
||||
// Note: an int is big enough for *seconds* (not milliseconds) since 1970
|
||||
// until 2038
|
||||
long millis = new Date().getTime();
|
||||
int result = (int)(millis / 1000);
|
||||
return result;
|
||||
|
|
Loading…
Add table
Reference in a new issue