Add a method to convert skript date to java date #7161
Labels
enhancement
Feature request, an issue about something that could be improved, or a PR improving something.
PR available
Issues which have a yet-to-be merged PR resolving it
priority: lowest
"Nice to have" updates that are not required (tiny low impact bug fixes or QoL enhancements).
Suggestion
As the title said, I'd like a method similar to timespan's toDuration for date converting skript's date object to a java date object (and vice versa if needed)
Why?
About an hour ago I started to work on a mild project and I end up needing to interact a lot between java's Date class and skript's Date class, and it's beginning to be annoying doing
new JavaDate(value.getTimestamp())
andnew Date(value.getTime())
over and overOther
This is just a some qol thing for developers to more easily interact between the two
Agreement
The text was updated successfully, but these errors were encountered: