def METHOD_NAME(times: list, dataIRIs: list, values: list):
    """
    Create Java TimeSeries object (i.e. to attach via TSClient)
    Arguments:
        times (list): List of time stamps
        dataIRIs (list): List of dataIRIs
        values (list): List of list of values per dataIRI     
    """
    try:
        timeseries = TSClient.jpsBaseLibView.TimeSeries(times, dataIRIs, values)
    except Exception as ex:
        logger.error("Unable to create TimeSeries object.")
        raise TSException("Unable to create timeseries.") from ex
    return timeseries