ifc-expressions
Version:
Parsing and evaluation of IFC expressions
27 lines (26 loc) • 1 kB
TypeScript
import { Value } from "./Value.js";
import { Comparable } from "./Comparable.js";
import { ExprType } from "../type/ExprType.js";
export declare class IfcDateValue implements Value<IfcDateValue>, Comparable<IfcDateValue> {
private readonly utcDateValue;
private readonly stringRepresentation;
private readonly originalTimeZoneHours;
private readonly originalTimeZoneMinutes;
private readonly isLocal;
private static readonly regex;
constructor(value: string);
static parseIfcDate(value: string): {
utcDate: Date;
originalTimeZoneHours?: number;
originalTimeZoneMinutes?: number;
isLocal: boolean;
};
static of(value: string): IfcDateValue;
getValue(): IfcDateValue;
getType(): ExprType;
static isIfcDateValueType(arg: any): arg is IfcDateValue;
static isValidStringRepresentation(str: string): boolean;
equals(other: Value<any>): boolean;
toString(): string;
compareTo(other: IfcDateValue): number;
}