export const dateKey = {
  year: "year",
  month: "month",
  day: "day",
};
export const timeKey = {
  hour: "hour",
  minute: "minute",
  second: "second",
};

export const dataKeyArr = Reflect.ownKeys(dateKey);
export const timeKeyArr = Reflect.ownKeys(timeKey);

export const keyToMethods = {
  year: "getFullYear",
  month: "getMonth",
  day: "getDate",
  hour: "getHours",
  minute: "getMinutes",
  second: "getSeconds",
};
