def GrocTimeSpecification(schedule, timezone=None):
  parser = groc.CreateParser(schedule)
  parser.timespec()

  if parser.period_string:
    return IntervalTimeSpecification(parser.interval_mins,
                                     parser.period_string,
                                     parser.synchronized,
                                     parser.start_time_string,
                                     parser.end_time_string,
                                     timezone)
  else:
    return SpecificTimeSpecification(parser.ordinal_set, parser.weekday_set,
                                     parser.month_set,
                                     parser.monthday_set,
                                     parser.time_string,
                                     timezone)
:py:obj:`Context.use_certificate_file` sets the certificate (given as a
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/cron/groctimespecification.py/GrocTimeSpecification--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/pyopenssl/OpenSSL/test/test_ssl.py/ContextTests.test_use_certificate_file_bytes