Commit 8241eb0
committed
fixup: add timestamp and now helpers to LSPSDateTime
Add helper methods to LSPSDateTime that return the timestamp as seconds
and as milliseconds since the Unix epoch. These methods improve consistency
in date-time conversions.1 parent f1e2937 commit 8241eb0
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
239 | 249 | | |
240 | 250 | | |
241 | 251 | | |
| |||
0 commit comments