DateTime
extends Strings
in package
This is a type class of DateTime
Tags
Table of Contents
- $format : string
- $name : string
- __construct() : mixed
- construct
- getName() : string
- get name
- getParquetTypeName() : string
- get type name of parquet
- validate() : bool
- validate
Properties
$format
private
string
$format
= 'Y-m-d'
$name
private
string
$name
= 'string'
Methods
__construct()
construct
public
__construct([string $format = 'Y-m-d' ][, string $name = 'string' ]) : mixed
Parameters
- $format : string = 'Y-m-d'
-
default: Y-m-d
- $name : string = 'string'
Return values
mixed —getName()
get name
public
getName() : string
Return values
string —getParquetTypeName()
get type name of parquet
public
getParquetTypeName() : string
Return values
string —validate()
validate
public
validate(mixed $value) : bool
Parameters
- $value : mixed