class TimeMapStringConverter implements StringValue {

    private final GraphModelProvider graphModelProvider;

    public TimeMapStringConverter(GraphModelProvider graphModelProvider) {
        this.graphModelProvider = graphModelProvider;
    }

    @Override
    public String getString(Object value) {<FILL_FUNCTION_BODY>}
}

        String str = null;
        if (value != null) {
            TimeMap timeMap = (TimeMap) value;
            str = timeMap.toString(graphModelProvider.getGraphModel().getTimeFormat(),
                graphModelProvider.getGraphModel().getTimeZone());
        }

        return str;
    
<no_super_class>