<filename>LinguaFrancaBase/functions.py
# Useful shortcuts used in Linga Franca programs

def NSEC(t): 
    return (t * 1)
def NSECS(t):
    return (t * 1)
def USEC(t):
    return (t * 1000)
def USECS(t):
    return (t * 1000)
def MSEC(t):
    return (t * 1000000)
def MSECS(t): 
    return (t * 1000000)
def SEC(t):
    return (t * 1000000000)
def SECS(t):
    return (t * 1000000000)
def MINUTE(t):
    return (t * 60000000000)
def MINUTES(t):
    return (t * 60000000000)
def HOUR(t):
    return (t * 3600000000000)
def HOURS(t):
    return (t * 3600000000000)
def DAY(t):
    return (t * 86400000000000)
def DAYS(t):
    return (t * 86400000000000)
def WEEK(t):
    return (t * 604800000000000)
def WEEKS(t):
    return (t * 604800000000000)
<filename>LinguaFrancaBase/functions.py
# Useful shortcuts used in Linga Franca programs

def NSEC(t): 
    return (t * 1)
def NSECS(t):
    return (t * 1)
def USEC(t):
    return (t * 1000)
def USECS(t):
    return (t * 1000)
def MSEC(t):
    return (t * 1000000)
def MSECS(t): 
    return (t * 1000000)
def SEC(t):
    return (t * 1000000000)
def SECS(t):
    return (t * 1000000000)
def MINUTE(t):
    return (t * 60000000000)
def MINUTES(t):
    return (t * 60000000000)
def HOUR(t):
    return (t * 3600000000000)
def HOURS(t):
    return (t * 3600000000000)
def DAY(t):
    return (t * 86400000000000)
def DAYS(t):
    return (t * 86400000000000)
def WEEK(t):
    return (t * 604800000000000)
def WEEKS(t):
    return (t * 604800000000000)
# Useful shortcuts used in Linga Franca programs