Skip to content

Commit

Permalink
feat: remove not needed constants
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskapp committed Jul 12, 2024
1 parent e4be9b9 commit 328ad0c
Showing 1 changed file with 3 additions and 20 deletions.
23 changes: 3 additions & 20 deletions src/Date/Date.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,30 +12,13 @@

final class Date implements DateInterface
{
public const INT_DAY_SUNDAY = 0;

public const INT_DAY_MONDAY = 1;

public const INT_DAY_TUESDAY = 2;

public const INT_DAY_WEDNESDAY = 3;

public const INT_DAY_THURSDAY = 4;

public const INT_DAY_FRIDAY = 5;

public const INT_DAY_SATURDAY = 6;

private string $strParseFormat = 'YmdHis';

private string $longTimestamp = '';

public const DATE_COMPARE_GREATER_THAN = 1;

public const DATE_COMPARE_EQUALS = 0;

public const DATE_COMPARE_LESSER_THAN = -1;

private string $strParseFormat = 'YmdHis';
private string $longTimestamp = '';

/**
* Creates an instance of the Date and initializes it with the current date if no value is passed.
* If a value is passed (int, long, Date), the value is used as the timestamp set to the new date-object.
Expand Down

0 comments on commit 328ad0c

Please sign in to comment.