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

export type DurationParams = Utf8StringParams;
export type DurationJson = Utf8StringJson;

export class Duration extends Utf8String {

  static {
    typeStore.Duration = this;
  }
  public static override NAME = "Duration";

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

    this.idBlock.tagClass = 1; // UNIVERSAL
    this.idBlock.tagNumber = 34; // Duration
  }

}