17 lines
594 B
TypeScript
17 lines
594 B
TypeScript
import type { TypeAndName } from './base.ts';
|
|
|
|
export class TimezoneTypeForStatistics implements TypeAndName {
|
|
public static readonly ApplicationTimezone = new TimezoneTypeForStatistics(0, 'Application Timezone');
|
|
public static readonly TransactionTimezone = new TimezoneTypeForStatistics(1, 'Transaction Timezone');
|
|
|
|
public static readonly Default = TimezoneTypeForStatistics.ApplicationTimezone;
|
|
|
|
public readonly type: number;
|
|
public readonly name: string;
|
|
|
|
private constructor(type: number, name: string) {
|
|
this.type = type;
|
|
this.name = name;
|
|
}
|
|
}
|