code: def test_add_time_features():
      tran = transform.AddTimeFeatures(
          start_field=FieldName.START,
          target_field=FieldName.TARGET,
          output_field="time_feat",
          time_features=[
              time_feature.day_of_week,
              time_feature.day_of_month,
              time_feature.month_of_year,
          ],
          pred_length=10,
      )
  
      tran2 = clone(
          tran,
          {
              "time_features": [
                  time_feature.day_of_week,
                  time_feature.day_of_month,
              ]
          },
      )
  
      assert equals(tran, clone(tran))
      assert not equals(tran, tran2)
  
file_path: gluonts/test/mx/test_transform_equals.py
imports: from gluonts.core.serde.flat import clone
  from gluonts import time_feature, transform
  from gluonts.core.component import equals
  from gluonts.dataset.field_names import FieldName
  from gluonts.mx import CanonicalRNNEstimator
  from pandas.tseries.frequencies import to_offset
label_desc: Use image node_id 2 for calling a global function with example usage: test_add_time_features() without return types