N.Y. Criminal Procedure Law § 400.20
3. Order directing a hearing. An order directing a hearing to determine whether the defendant should be sentenced as a persistent felony offender must be filed with the clerk of the court and must specify a date for the hearing not less than twenty days from the date the order is filed. The court must annex to and file with the order a statement setting forth the following: