Debian Codegraph @

lib/3rdParty/composer/nesbot/carbon/src/Carbon/Constants/DiffOptions.php

raw symbols SCIP
1 <?php
2
3 declare(strict_types=1);
4
5 /**
6 * This file is part of the Carbon package.
7 *
8 * (c) Brian Nesbitt <[email protected]>
9 *
10 * For the full copyright and license information, please view the LICENSE
11 * file that was distributed with this source code.
12 */
13
14 namespace Carbon\Constants;
15
16 interface DiffOptions
17 {
18 /**
19 * Diff wording options(expressed in octal).
20 */
21 public const NO_ZERO_DIFF = 01;
22 public const JUST_NOW = 02;
23 public const ONE_DAY_WORDS = 04;
24 public const TWO_DAY_WORDS = 010;
25 public const SEQUENTIAL_PARTS_ONLY = 020;
26 public const ROUND = 040;
27 public const FLOOR = 0100;
28 public const CEIL = 0200;
29
30 /**
31 * Diff syntax options.
32 */
33 public const DIFF_ABSOLUTE = 1; // backward compatibility with true
34 public const DIFF_RELATIVE_AUTO = 0; // backward compatibility with false
35 public const DIFF_RELATIVE_TO_NOW = 2;
36 public const DIFF_RELATIVE_TO_OTHER = 3;
37 }