intToDate function
Implementation
DateTime intToDate(int y, int m, int d, {int h = 0, int min = 0}) {
return strToDate(
"${y.toString().padLeft(4, "0")}/${m.toString().padLeft(2, "0")}/${d.toString().padLeft(2, "0")} ${h.toString().padLeft(2, "0")}:${min.toString().padLeft(2, "0")}",
pattern: "yyyy/MM/dd HH:mm");
}