Converts a long value with seconds since 1/1/1904 to Date.paramsecondsSince seconds since 1/1/1904returndate the corresponding Date return new Date((secondsSince - 2082844800L) * 1000L);
Date
return new Date((secondsSince - 2082844800L) * 1000L);
Converts a date as long to a mac date as longparamdate date to convertreturndate in mac format return (date.getTime() / 1000L) + 2082844800L;
return (date.getTime() / 1000L) + 2082844800L;