| 1 |
<?php |
| 2 |
|
| 3 |
declare(strict_types=1); |
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
namespace Carbon\Constants; |
| 15 |
|
| 16 |
interface DiffOptions |
| 17 |
{ |
| 18 |
|
| 19 |
|
| 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 |
|
| 32 |
|
| 33 |
public const DIFF_ABSOLUTE = 1; |
| 34 |
public const DIFF_RELATIVE_AUTO = 0; |
| 35 |
public const DIFF_RELATIVE_TO_NOW = 2; |
| 36 |
public const DIFF_RELATIVE_TO_OTHER = 3; |
| 37 |
} |