Метод | Описание | |
---|---|---|
__construct ( string $date ) | ||
create ( string $date ) : |
Creates TimeAgo object for passed date. | |
getKey ( ) : string | ||
getParams ( ) : array |
Метод | Описание | |
---|---|---|
dateAsTimestamp ( ) : integer | ||
getDateDiff ( ) : integer | ||
isSameDay ( ) : boolean | ||
nowAsTimestamp ( ) : integer | ||
prepare ( ) : void | ||
showJustNow ( ) : boolean | ||
showMinutesAgo ( ) : integer | null | ||
showThisYear ( ) : boolean | ||
showTodayAt ( ) : boolean | ||
showYesterdayAt ( ) : boolean |