TimeUnits.<enum>

TimeUnits types

Description

Class exposing the time units available to the TNTP network reader unit configuration.

Fields

<enum> Fields Description Instance documentation
HOURS hour units
MINUTES minutes units
SECONDS seconds units

Example 1

from planit import *

# create a network converter
planit_instance = Planit()
network_converter = planit_instance.converter_factory.create(ConverterType.NETWORK)

# TNTP network reader        
reader = network_converter.create_reader(NetworkReaderType.TNTP)
reader.settings.set_free_flow_travel_time_units(TimeUnits.MINUTES)

See also

N/A

Source code

Class TimeUnits in enums.py