REF: avoid using internals methods for to_timestamp, to_period (#32347)
REF: avoid using internals methods for to_timestamp, to_period (#32347)


dsm054/pandas,rs2/pandas,pandas-dev/pandas,TomAugspurger/pandas,jreback/pandas,TomAugspurger/pandas,gfyoung/pandas,jorisvandenbossche/pandas,rs2/pandas,jreback/pandas,dsm054/pandas,rs2/pandas,gfyoung/pandas,jorisvandenbossche/pandas,gfyoung/pandas,dsm054/pandas,datapythonista/pandas,datapythonista/pandas,dsm054/pandas,jorisvandenbossche/pandas,pandas-dev/pandas,rs2/pandas,jorisvandenbossche/pandas,jreback/pandas,jreback/pandas,TomAugspurger/pandas,datapythonista/pandas,dsm054/pandas,gfyoung/pandas,gfyoung/pandas,pandas-dev/pandas,TomAugspurger/pandas,pandas-dev/pandas,jreback/pandas,datapythonista/pandas