Overview

Namespaces

  • OpenCloud
    • Autoscale
      • Resource
    • CloudMonitoring
      • Exception
      • Resource
    • Common
      • Collection
      • Constants
      • Exceptions
      • Http
        • Message
      • Identity
      • Log
      • Service
    • Compute
      • Constants
      • Exception
      • Resource
    • Database
      • Resource
    • DNS
      • Resource
    • LoadBalancer
      • Resource
    • ObjectStore
      • Constants
      • Exception
      • Resource
      • Upload
    • Orchestration
    • Queues
      • Exception
      • Resource
    • Volume
      • Resource
  • PHP

Classes

  • Datetime
  • Header
  • Mime
  • Service
  • Size
  • State
  • Overview
  • Namespace
  • Class
  • Tree
  • Download
 1: <?php
 2: /**
 3:  * PHP OpenCloud library.
 4:  * 
 5:  * @copyright 2013 Rackspace Hosting, Inc. See LICENSE for information.
 6:  * @license   https://www.apache.org/licenses/LICENSE-2.0
 7:  * @author    Jamie Hannaford <jamie.hannaford@rackspace.com>
 8:  * @author    Glen Campbell <glen.campbell@rackspace.com>
 9:  */
10: 
11: namespace OpenCloud\Common\Constants;
12: 
13: 
14: class Datetime 
15: {
16:     /**
17:      * Values in s.
18:      */
19:     const SECOND = 1;
20:     const MINUTE = 60;
21:     const HOUR   = 3600;
22:     const DAY    = 86400;
23: 
24:     /**
25:      * Values in ms.
26:      */
27:     const MILLISECOND = 1;
28:     const SECOND_M    = 1000;
29:     const MINUTE_M    = 60000;
30:     const HOUR_M      = 3600000;
31:     const DAY_M       = 86400000;
32: 
33: 
34: 
35: } 
PHP OpenCloud API API documentation generated by ApiGen 2.8.0