Skip to content

Commit

Permalink
Switch to temporal-polyfill/global
Browse files Browse the repository at this point in the history
  • Loading branch information
mjradwin committed Dec 15, 2024
1 parent e9105d2 commit f3e70b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hebcal/noaa",
"version": "0.8.15",
"version": "0.8.16",
"description": "sunrise and sunset via NOAA algorithm with elevation, based on KosherJava",
"author": "Michael J. Radwin (https://github.com/mjradwin)",
"contributors": [
Expand Down
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Temporal } from 'temporal-polyfill';
import 'temporal-polyfill/global';

/**
* java.lang.Math.toRadians
Expand Down Expand Up @@ -248,13 +248,13 @@ export class NOAACalculator {
* The Java Calendar encapsulated by this class to track the current date used by the class
* @private
*/
private date!: Temporal.PlainDate;
private date: Temporal.PlainDate;

/**
* the {@link GeoLocation} used for calculations.
* @private
*/
private geoLocation!: GeoLocation;
private geoLocation: GeoLocation;
/**
* The getSunrise method Returns a `Date` representing the
* {@link getElevationAdjustment elevation adjusted} sunrise time. The zenith used
Expand Down

0 comments on commit f3e70b6

Please sign in to comment.