icclim._core.utils
#
Contain utility functions for icclim.
Module Contents#
- icclim._core.utils.read_date(in_date: str | datetime.datetime) datetime.datetime [source]#
Read a date from a string or return the date if it is already a datetime object.
- Parameters:
in_date (str | datetime) – A string representing a date or a datetime object.
- Returns:
A datetime object.
- Return type:
datetime