fm.liveswitch.Constants Class Reference

A collection of platform-independent constant values. More...

Public Member Functions

 Constants ()
 

Static Public Member Functions

static int getDefaultMillisecondsPerAudioFrame ()
 Gets the default number of milliseconds for an audio frame. More...
 
static int getHoursPerDay ()
 Gets the number of hours in one day. More...
 
static int getMillisecondsPerDay ()
 Gets the number of milliseconds in one hour. More...
 
static int getMillisecondsPerHour ()
 Gets the number of milliseconds in one hour. More...
 
static int getMillisecondsPerMinute ()
 Gets the number of milliseconds in one minute. More...
 
static int getMillisecondsPerSecond ()
 Gets the number of milliseconds in one second. More...
 
static int getMinutesPerDay ()
 Gets the number of minutes in one day. More...
 
static int getMinutesPerHour ()
 Gets the number of minutes in one hour. More...
 
static int getNanosecondsPerTick ()
 Gets the number of nanoseconds in one tick. More...
 
static int getSecondsPerDay ()
 Gets the number of seconds in one day. More...
 
static int getSecondsPerHour ()
 Gets the number of seconds in one hour. More...
 
static int getSecondsPerMinute ()
 Gets the number of seconds in one minute. More...
 
static long getTicksPerDay ()
 Gets the number of ticks in one day. More...
 
static long getTicksPerHour ()
 Gets the number of ticks in one hour. More...
 
static int getTicksPerMicrosecond ()
 Gets the number of ticks in one microsecond. More...
 
static int getTicksPerMillisecond ()
 Gets the number of ticks in one millisecond. More...
 
static int getTicksPerMinute ()
 Gets the number of ticks in one minute. More...
 
static int getTicksPerSecond ()
 Gets the number of ticks in one second. More...
 

Detailed Description

A collection of platform-independent constant values.

Constructor & Destructor Documentation

◆ Constants()

fm.liveswitch.Constants.Constants ( )

Member Function Documentation

◆ getDefaultMillisecondsPerAudioFrame()

static int fm.liveswitch.Constants.getDefaultMillisecondsPerAudioFrame ( )
static

Gets the default number of milliseconds for an audio frame.

◆ getHoursPerDay()

static int fm.liveswitch.Constants.getHoursPerDay ( )
static

Gets the number of hours in one day.

◆ getMillisecondsPerDay()

static int fm.liveswitch.Constants.getMillisecondsPerDay ( )
static

Gets the number of milliseconds in one hour.

◆ getMillisecondsPerHour()

static int fm.liveswitch.Constants.getMillisecondsPerHour ( )
static

Gets the number of milliseconds in one hour.

◆ getMillisecondsPerMinute()

static int fm.liveswitch.Constants.getMillisecondsPerMinute ( )
static

Gets the number of milliseconds in one minute.

◆ getMillisecondsPerSecond()

static int fm.liveswitch.Constants.getMillisecondsPerSecond ( )
static

Gets the number of milliseconds in one second.

◆ getMinutesPerDay()

static int fm.liveswitch.Constants.getMinutesPerDay ( )
static

Gets the number of minutes in one day.

◆ getMinutesPerHour()

static int fm.liveswitch.Constants.getMinutesPerHour ( )
static

Gets the number of minutes in one hour.

◆ getNanosecondsPerTick()

static int fm.liveswitch.Constants.getNanosecondsPerTick ( )
static

Gets the number of nanoseconds in one tick.

◆ getSecondsPerDay()

static int fm.liveswitch.Constants.getSecondsPerDay ( )
static

Gets the number of seconds in one day.

◆ getSecondsPerHour()

static int fm.liveswitch.Constants.getSecondsPerHour ( )
static

Gets the number of seconds in one hour.

◆ getSecondsPerMinute()

static int fm.liveswitch.Constants.getSecondsPerMinute ( )
static

Gets the number of seconds in one minute.

◆ getTicksPerDay()

static long fm.liveswitch.Constants.getTicksPerDay ( )
static

Gets the number of ticks in one day.

◆ getTicksPerHour()

static long fm.liveswitch.Constants.getTicksPerHour ( )
static

Gets the number of ticks in one hour.

◆ getTicksPerMicrosecond()

static int fm.liveswitch.Constants.getTicksPerMicrosecond ( )
static

Gets the number of ticks in one microsecond.

◆ getTicksPerMillisecond()

static int fm.liveswitch.Constants.getTicksPerMillisecond ( )
static

Gets the number of ticks in one millisecond.

◆ getTicksPerMinute()

static int fm.liveswitch.Constants.getTicksPerMinute ( )
static

Gets the number of ticks in one minute.

◆ getTicksPerSecond()

static int fm.liveswitch.Constants.getTicksPerSecond ( )
static

Gets the number of ticks in one second.