Overrides default json encoding of date time objects

CloneableInstantiable
ExtendsMonolog\DateTimeImmutable
ImplementsDateTimeInterface
JsonSerializable
Constants
public DateTimeInterface::ATOM = 'Y-m-d\TH:i:sP'
public DateTimeInterface::COOKIE = 'l, d-M-Y H:i:s T'
public DateTimeInterface::ISO8601 = 'Y-m-d\TH:i:sO'
public DateTimeInterface::RFC1036 = 'D, d M y H:i:s O'
public DateTimeInterface::RFC1123 = 'D, d M Y H:i:s O'
public DateTimeInterface::RFC2822 = 'D, d M Y H:i:s O'
public DateTimeInterface::RFC3339 = 'Y-m-d\TH:i:sP'
public DateTimeInterface::RFC3339_EXTENDED = 'Y-m-d\TH:i:s.vP'
public DateTimeInterface::RFC7231 = 'D, d M Y H:i:s \G\M\T'
public DateTimeInterface::RFC822 = 'D, d M y H:i:s O'
public DateTimeInterface::RFC850 = 'l, d-M-y H:i:s T'
public DateTimeInterface::RSS = 'D, d M Y H:i:s O'
public DateTimeInterface::W3C = 'Y-m-d\TH:i:sP'
Methods
public __construct(bool $useMicroseconds, ?DateTimeZone $timezone = NULL)
public static Monolog\DateTimeImmutable::__set_state(array $array)
public __toString() : string
public Monolog\DateTimeImmutable::__wakeup()
public Monolog\DateTimeImmutable::add( $interval)
public static Monolog\DateTimeImmutable::createFromFormat( $format, $time, ?DateTimeZone $object)
public static Monolog\DateTimeImmutable::createFromMutable( $DateTime)
public Monolog\DateTimeImmutable::diff( $object, $absolute)
public Monolog\DateTimeImmutable::format( $format)
public static Monolog\DateTimeImmutable::getLastErrors()
public Monolog\DateTimeImmutable::getOffset()
public Monolog\DateTimeImmutable::getTimestamp()
public Monolog\DateTimeImmutable::getTimezone()
public jsonSerialize() : string
public Monolog\DateTimeImmutable::modify( $modify)
public Monolog\DateTimeImmutable::setDate( $year, $month, $day)
public Monolog\DateTimeImmutable::setISODate( $year, $week, $day)
public Monolog\DateTimeImmutable::setTime( $hour, $minute, $second, $microseconds)
public Monolog\DateTimeImmutable::setTimestamp( $unixtimestamp)
public Monolog\DateTimeImmutable::setTimezone( $timezone)
public Monolog\DateTimeImmutable::sub( $interval)
Properties
private $useMicroseconds
 


  • var bool
Methods
public static Monolog\DateTimeImmutable::__set_state(array $array)
public static Monolog\DateTimeImmutable::createFromFormat( $format, $time, ?DateTimeZone $object)
public static Monolog\DateTimeImmutable::createFromMutable( $DateTime)
public static Monolog\DateTimeImmutable::getLastErrors()
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only