node-opcua-date-time
Advanced tools
Comparing version 2.71.0 to 2.73.0
@@ -37,3 +37,4 @@ export interface DateWithPicoseconds extends Date { | ||
export declare function coerceClock(timestamp: undefined | null | DateWithPicoseconds | Date, picoseconds?: number): PreciseClock; | ||
export declare const minDate: Date; | ||
export declare const minOPCUADate: Date; | ||
export declare function isMinDate(date?: Date | null): boolean; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isMinDate = exports.minOPCUADate = exports.coerceClock = exports.getCurrentClock = exports.uninstallPeriodicClockAdjustment = exports.installPeriodicClockAdjustment = exports.periodicClockAdjustment = exports.getCurrentClockWithJavascriptDate = exports.bn_hundredNanoSecondFrom1601ToDate = exports.bn_dateToHundredNanoSecondFrom1601Excess = exports.bn_dateToHundredNanoSecondFrom1601 = exports.offsetFactor1601 = void 0; | ||
exports.isMinDate = exports.minOPCUADate = exports.minDate = exports.coerceClock = exports.getCurrentClock = exports.uninstallPeriodicClockAdjustment = exports.installPeriodicClockAdjustment = exports.periodicClockAdjustment = exports.getCurrentClockWithJavascriptDate = exports.bn_hundredNanoSecondFrom1601ToDate = exports.bn_dateToHundredNanoSecondFrom1601Excess = exports.bn_dateToHundredNanoSecondFrom1601 = exports.offsetFactor1601 = void 0; | ||
/** | ||
@@ -197,8 +197,8 @@ * @module node-opcua-date-time | ||
exports.coerceClock = coerceClock; | ||
const minDate = new Date(Date.UTC(1601, 0, 1, 0, 0, 0)); | ||
exports.minOPCUADate = minDate; | ||
exports.minDate = new Date(Date.UTC(1601, 0, 1, 0, 0, 0)); | ||
exports.minOPCUADate = exports.minDate; | ||
function isMinDate(date) { | ||
return !date || date.getTime() === minDate.getTime(); | ||
return !date || date.getTime() === exports.minDate.getTime(); | ||
} | ||
exports.isMinDate = isMinDate; | ||
//# sourceMappingURL=date_time.js.map |
@@ -0,0 +0,0 @@ import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -5,3 +5,3 @@ { | ||
"types": "./dist/index.d.ts", | ||
"version": "2.71.0", | ||
"version": "2.73.0", | ||
"description": "pure nodejs OPCUA SDK - module -date-time", | ||
@@ -21,3 +21,3 @@ "scripts": { | ||
"node-opcua-benchmarker": "2.71.0", | ||
"node-opcua-binary-stream": "2.71.0", | ||
"node-opcua-binary-stream": "2.73.0", | ||
"node-opcua-debug": "2.71.0", | ||
@@ -41,3 +41,3 @@ "should": "^13.2.3" | ||
"homepage": "http://node-opcua.github.io/", | ||
"gitHead": "10f7cc1e1cd30dfef75adad9cb709a78401fabf3" | ||
"gitHead": "b23a87c1ef777c0d8b680f45ee77e2a319feb092" | ||
} |
@@ -227,5 +227,5 @@ /** | ||
} | ||
export const minDate = new Date(Date.UTC(1601, 0, 1, 0, 0, 0)); | ||
const minDate = new Date(Date.UTC(1601, 0, 1, 0, 0, 0)); | ||
export const minOPCUADate = minDate; | ||
@@ -232,0 +232,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37008
640