\duncan3dc\DatesDateParser

The date only portion of a DateTimeParser object.

Summary

Methods
Properties
Constants
addParser()
addDefaultParsers()
parse()
No public properties found
No constants found
No protected methods found
$parsers
N/A
No private methods found
No private properties found
N/A

Properties

Methods

addDefaultParsers()

addDefaultParsers() : static

Add the default set of parsers the library ships with.

Returns

static

parse()

parse(  $date,   $time = null) : \duncan3dc\Dates\Date

Create a new Date object from a parsable date.

Parameters

$date
$time

Returns

\duncan3dc\Dates\Date