type TypeHour = number
type TypeMinute = number
type TypeSecond = number
type TypeTimeTuple = [TypeHour, TypeMinute, TypeSecond]
export type TypeRange = [
    TypeTimeTuple | null,
    TypeTimeTuple | null
];


export const COL_NAMES = ['hour', 'minute', 'second'] as const
export const COL_NAMES_WITHOUT_SECOND = ['hour', 'minute'] as const

export function getColNames(showSecond = false) {
    return showSecond ? COL_NAMES : COL_NAMES_WITHOUT_SECOND;
}
