summaryrefslogtreecommitdiffstats
path: root/comm/third_party/asn1js/src/DATE.ts
blob: 3a6f73d144f47b9bb942e0cf98dc0b227589ef1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import { typeStore } from "./TypeStore";
import { Utf8StringParams, Utf8String, Utf8StringJson } from "./Utf8String";

export type DATEParams = Utf8StringParams;
export type DATEJson = Utf8StringJson;

export class DATE extends Utf8String {

  static {
    typeStore.DATE = this;
  }

  public static override NAME = "DATE";

  constructor(parameters: DATEParams = {}) {
    super(parameters);

    this.idBlock.tagClass = 1; // UNIVERSAL
    this.idBlock.tagNumber = 31; // DATE
  }

}