class_docstr: Transforms datetime features into numeric features.
  
  Parameters
  ----------
  features : list, optional
      A list of datetime features to parse out of dates.
      For a full list of options see the methods inside pandas.Series.dt at https://pandas.pydata.org/docs/reference/api/pandas.Series.html
code: def _generate_features_datetime(
      self, X: DataFrame, is_fit: bool
  ) -> DataFrame:
      X_datetime = DataFrame(index=X.index)
      for datetime_feature in self.features_in:
          X_datetime[datetime_feature] = self.normalize_timeseries(
              X, datetime_feature, is_fit=is_fit
          )
          for feature in self.features:
              X_datetime[datetime_feature + "." + feature] = getattr(
                  X_datetime[datetime_feature].dt, feature
              ).astype(np.int64)
          X_datetime[datetime_feature] = pd.to_numeric(
              X_datetime[datetime_feature]
          )
      return X_datetime
  
file_path: autogluon/features/src/autogluon/features/generators/datetime.py
imports: import logging
  import numpy
  import pandas
  from pandas import DataFrame
  from autogluon.common.features.types import R_DATETIME, S_DATETIME_AS_OBJECT
  from .abstract import AbstractFeatureGenerator
label_desc: Use image node_id 6 for calling the DatetimeFeatureGenerator obj's underlying member method code with example usage: obj._generate_features_datetime(X, is_fit) and returns: X_datetime