i2 Notebook SDK
Search results for

    Show/hide table of contents

    Home > @i2analyze/notebook-sdk > app > IValueFactory > createLocalTime

    app.IValueFactory.createLocalTime() method

    Creates a local time object (that does not have a date or a time zone) from an ISO 8601 string ('hh:mm:ss' or 'hh:mm:ss.sss').

    Signature:

    createLocalTime(iso8601: string): data.ILocalTime;
    

    Introduced: version 1.1

    Parameters

    Parameter Type Description
    iso8601 string An ISO 8601-formatted string that represents the time.

    Returns:

    data.ILocalTime

    The new local time object.

    Exceptions

    Error if the string was not in valid ISO 8601 format.

    In this article
    Back to top © N. Harris Computer Corporation