Times extension

Provides low-level functions for working with times.

These functions should only be used when it is not feasible to use sugar.time, such as when working with 3rd-party date-time types.

on
  • Never

Static Methods

format(int hour, [int minute = 0, int second = 0, int millisecond = 0, int microsecond = 0]) String
Formats the time as a ISO-8601 time.