Expand description
Time formatting and parsing helpers. Pan time parsing and formatting helpers.
Functions§
- feetandframes
- Formats a frame count as
feet+frames. - kcadd
- Adds
offsetframes to a keycode string. - kcdiff
- Returns the inclusive frame count between two keycodes.
- kcframes
- Parses a
feet+frameskeycode into total frames. - kcoutfromlength
- Returns the last keycode given a start and inclusive length.
- now
- Returns the current local time as seconds since midnight.
- outcode
- Returns the next-frame timecode for
textcode. - seconds
- Parses a time string into seconds.
- tc24to30
- Converts a 24fps timecode to 30fps using scaling.
- tc30to24
- Converts a 30fps timecode to 24fps using scaling.
- tcadd
- Adds
offsetframes to a timecode. - tcdiff
- Returns the frame distance between two timecodes.
- tcframes
- Converts
HH:MM:SS:FFtimecode to total frames. - texttimedifference
- Parses two times and formats the signed difference as
H:MM[:SS]. - texttimeinterval
- Parses two times and formats the forward interval as
H:MM[:SS]. - tickcount
- Returns a monotonic tick count in 60 Hz ticks.
- time
- Parses a flexible time string into seconds since midnight.
- time24
- Wraps a time into the 24-hour range.
- timecode
- Formats a frame count as
HH:MM:SS:FF. - timedifference
- Returns the signed shortest difference from
starttoend. - timeinterval
- Returns the forward interval from
starttoend(wraps at 24h). - timepattern
- Formats a time using a Pan time pattern.
- timestr
- Formats
numberashh:mm AM/PM.
Type Aliases§
- PanTime
- A time represented as seconds.