Add offset string from minutes conversion method to Time singleton

This commit is contained in:
Aaron Franke
2022-02-23 22:12:02 -06:00
parent cfc7c78732
commit 55aabb8b06
4 changed files with 31 additions and 4 deletions

View File

@@ -97,6 +97,13 @@
If [code]use_space[/code] is true, use a space instead of the letter T in the middle.
</description>
</method>
<method name="get_offset_string_from_offset_minutes" qualifiers="const">
<return type="String" />
<argument index="0" name="offset_minutes" type="int" />
<description>
Converts the given timezone offset in minutes to a timezone offset string. For example, -480 returns "-08:00", 345 returns "+05:45", and 0 returns "+00:00".
</description>
</method>
<method name="get_ticks_msec" qualifiers="const">
<return type="int" />
<description>