.. Adapted from https://stackoverflow.com/a/62613202 flexmeasures.utils.time\_utils ============================== .. automodule:: flexmeasures.utils.time_utils .. rubric:: Functions .. autofunction:: apply_offset_chain .. autofunction:: as_server_time .. autofunction:: decide_resolution .. autofunction:: determine_minimum_resampling_resolution .. autofunction:: duration_isoformat .. autofunction:: ensure_local_timezone .. autofunction:: forecast_horizons_for .. autofunction:: get_first_day_of_next_month .. autofunction:: get_max_planning_horizon .. autofunction:: get_most_recent_clocktime_window .. autofunction:: get_most_recent_hour .. autofunction:: get_most_recent_quarter .. autofunction:: get_timezone .. autofunction:: localized_datetime .. autofunction:: localized_datetime_str .. autofunction:: naive_utc_from .. autofunction:: naturalized_datetime_str .. autofunction:: resolution_to_hour_factor .. autofunction:: round_to_closest_hour .. autofunction:: round_to_closest_quarter .. autofunction:: server_now .. autofunction:: supported_horizons .. autofunction:: timedelta_to_pandas_freq_str .. autofunction:: to_http_time .. autofunction:: to_utc_timestamp .. autofunction:: tz_index_naively