Commit 308a268
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 7166986 commit 308a268
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
238 | 249 | | |
239 | 250 | | |
240 | 251 | | |
| |||
0 commit comments