DateTime.php 488 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * 开始时间
  4. * @author auto create
  5. */
  6. class DateTime
  7. {
  8. /**
  9. * 日期,全天日程使用,格式必须为'yyyy-mm-dd',和timestamp字段互斥,该字段有值时,则忽略timestamp字段
  10. **/
  11. public $date;
  12. /**
  13. * 时间戳,单位为秒。非全天日程使用,与date字段互斥
  14. **/
  15. public $timestamp;
  16. /**
  17. * 时区信息,默认为"Asia/Shanghai"。date有值时,timezone 为 UTC;
  18. **/
  19. public $timezone;
  20. }
  21. ?>