Methods
(static) dateToJulianDay(d) → {number}
Convert a Date object to a Julian day representation
Parameters:
| Name | Type | Description |
|---|---|---|
d |
Date |
Returns:
- Type
- number
(static) julianDayToDate(i) → {Date}
Convert a Julian day representation to a Date object
Parameters:
| Name | Type | Description |
|---|---|---|
i |
number |
Returns:
- Type
- Date
(static) str(obj) → {string}
Apply toString() method on Buffer and remove NUL end char
Parameters:
| Name | Type | Description |
|---|---|---|
obj |
Buffer |
Returns:
- Type
- string