DateTime - Mtax-Development/GML-OOP GitHub Wiki

Description

Constructs a container representing date and time.

Specification

Destruction
Elements
Garbage Collection
None

Properties

Name
Type
Modifiable
ID
{int:datetime}
No
year
{int}
No
month
{int}
No
week
{int}
No
day
{int}
No
hour
{int}
No
minute
{int}
No
second
{int}
No

Construction types

Name
Arguments
Argument note
New constructor
year {int}
month {int}
day {int}
hour? {int}
minute? {int}
second? {int}
From one array
array {int[]}
Array elements will be applied in the following order:[year, month?, day?, hour?, minute?, second?]
From two arrays
date {int[]}
time {int[]}
Array elements will be applied in the following order:[year, month, day], [hour, minute, second?]
Wrapper
datetime {real:datetime}
Empty
Constructor copy
other {DateTime}
⚠️ **GitHub.com Fallback** ⚠️