Files
core/hwe/ts/util/joinYearMonth.ts
T
2021-11-13 16:33:11 +09:00

3 lines
104 B
TypeScript

export function joinYearMonth(year: number, month: number): number {
return year * 12 + month - 1;
}