@@ -349,7 +349,7 @@ public String formatXSDDurationTime(Time time) {
349
349
* format used is:
350
350
*
351
351
* <pre>
352
- * <AstronomicalTimes date="1969-02-08" type="net.sourceforge .zmanim.AstronomicalCalendar algorithm="US Naval Almanac Algorithm" location="Lakewood, NJ" latitude="40.095965" longitude="-74.22213" elevation="31.0" timeZoneName="Eastern Standard Time" timeZoneID="America/New_York" timeZoneOffset="-5">
352
+ * <AstronomicalTimes date="1969-02-08" type="com.kosherjava .zmanim.AstronomicalCalendar algorithm="US Naval Almanac Algorithm" location="Lakewood, NJ" latitude="40.095965" longitude="-74.22213" elevation="31.0" timeZoneName="Eastern Standard Time" timeZoneID="America/New_York" timeZoneOffset="-5">
353
353
* <Sunrise>2007-02-18T06:45:27-05:00</Sunrise>
354
354
* <TemporalHour>PT54M17.529S</TemporalHour>
355
355
* ...
@@ -367,7 +367,7 @@ public String formatXSDDurationTime(Time time) {
367
367
* @return The XML formatted <code>String</code>. The format will be:
368
368
*
369
369
* <pre>
370
- * <AstronomicalTimes date="1969-02-08" type="net.sourceforge .zmanim.AstronomicalCalendar algorithm="US Naval Almanac Algorithm" location="Lakewood, NJ" latitude="40.095965" longitude="-74.22213" elevation="31.0" timeZoneName="Eastern Standard Time" timeZoneID="America/New_York" timeZoneOffset="-5">
370
+ * <AstronomicalTimes date="1969-02-08" type="com.kosherjava .zmanim.AstronomicalCalendar algorithm="US Naval Almanac Algorithm" location="Lakewood, NJ" latitude="40.095965" longitude="-74.22213" elevation="31.0" timeZoneName="Eastern Standard Time" timeZoneID="America/New_York" timeZoneOffset="-5">
371
371
* <Sunrise>2007-02-18T06:45:27-05:00</Sunrise>
372
372
* <TemporalHour>PT54M17.529S</TemporalHour>
373
373
* ...
@@ -387,17 +387,17 @@ public static String toXML(AstronomicalCalendar astronomicalCalendar) {
387
387
boolean daylight = tz .useDaylightTime () && tz .inDaylightTime (date );
388
388
389
389
StringBuffer sb = new StringBuffer ("<" );
390
- if (astronomicalCalendar .getClass ().getName ().equals ("net.sourceforge .zmanim.AstronomicalCalendar" )) {
390
+ if (astronomicalCalendar .getClass ().getName ().equals ("com.kosherjava .zmanim.AstronomicalCalendar" )) {
391
391
sb .append ("AstronomicalTimes" );
392
392
// TODO: use proper schema ref, and maybe build a real schema.
393
393
// output += "xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" ";
394
394
// output += xsi:schemaLocation="http://www.kosherjava.com/zmanim astronomical.xsd"
395
- } else if (astronomicalCalendar .getClass ().getName ().equals ("net.sourceforge .zmanim.ComplexZmanimCalendar" )) {
395
+ } else if (astronomicalCalendar .getClass ().getName ().equals ("com.kosherjava .zmanim.ComplexZmanimCalendar" )) {
396
396
sb .append ("Zmanim" );
397
397
// TODO: use proper schema ref, and maybe build a real schema.
398
398
// output += "xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" ";
399
399
// output += xsi:schemaLocation="http://www.kosherjava.com/zmanim zmanim.xsd"
400
- } else if (astronomicalCalendar .getClass ().getName ().equals ("net.sourceforge .zmanim.ZmanimCalendar" )) {
400
+ } else if (astronomicalCalendar .getClass ().getName ().equals ("com.kosherjava .zmanim.ZmanimCalendar" )) {
401
401
sb .append ("BasicZmanim" );
402
402
// TODO: use proper schema ref, and maybe build a real schema.
403
403
// output += "xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" ";
@@ -473,11 +473,11 @@ public static String toXML(AstronomicalCalendar astronomicalCalendar) {
473
473
sb .append ("\t " ).append (otherList .get (i )).append ("\n " );
474
474
}
475
475
476
- if (astronomicalCalendar .getClass ().getName ().equals ("net.sourceforge .zmanim.AstronomicalCalendar" )) {
476
+ if (astronomicalCalendar .getClass ().getName ().equals ("com.kosherjava .zmanim.AstronomicalCalendar" )) {
477
477
sb .append ("</AstronomicalTimes>" );
478
- } else if (astronomicalCalendar .getClass ().getName ().equals ("net.sourceforge .zmanim.ComplexZmanimCalendar" )) {
478
+ } else if (astronomicalCalendar .getClass ().getName ().equals ("com.kosherjava .zmanim.ComplexZmanimCalendar" )) {
479
479
sb .append ("</Zmanim>" );
480
- } else if (astronomicalCalendar .getClass ().getName ().equals ("net.sourceforge .zmanim.ZmanimCalendar" )) {
480
+ } else if (astronomicalCalendar .getClass ().getName ().equals ("com.kosherjava .zmanim.ZmanimCalendar" )) {
481
481
sb .append ("</BasicZmanim>" );
482
482
}
483
483
return sb .toString ();
@@ -490,7 +490,7 @@ public static String toXML(AstronomicalCalendar astronomicalCalendar) {
490
490
* {
491
491
* "metadata":{
492
492
* "date":"1969-02-08",
493
- * "type":"net.sourceforge .zmanim.AstronomicalCalendar",
493
+ * "type":"com.kosherjava .zmanim.AstronomicalCalendar",
494
494
* "algorithm":"US Naval Almanac Algorithm",
495
495
* "location":"Lakewood, NJ",
496
496
* "latitude":"40.095965",
@@ -519,7 +519,7 @@ public static String toXML(AstronomicalCalendar astronomicalCalendar) {
519
519
* {
520
520
* "metadata":{
521
521
* "date":"1969-02-08",
522
- * "type":"net.sourceforge .zmanim.AstronomicalCalendar",
522
+ * "type":"com.kosherjava .zmanim.AstronomicalCalendar",
523
523
* "algorithm":"US Naval Almanac Algorithm",
524
524
* "location":"Lakewood, NJ",
525
525
* "latitude":"40.095965",
@@ -562,11 +562,11 @@ public static String toJSON(AstronomicalCalendar astronomicalCalendar) {
562
562
563
563
sb .append ("},\n \" " );
564
564
565
- if (astronomicalCalendar .getClass ().getName ().equals ("net.sourceforge .zmanim.AstronomicalCalendar" )) {
565
+ if (astronomicalCalendar .getClass ().getName ().equals ("com.kosherjava .zmanim.AstronomicalCalendar" )) {
566
566
sb .append ("AstronomicalTimes" );
567
- } else if (astronomicalCalendar .getClass ().getName ().equals ("net.sourceforge .zmanim.ComplexZmanimCalendar" )) {
567
+ } else if (astronomicalCalendar .getClass ().getName ().equals ("com.kosherjava .zmanim.ComplexZmanimCalendar" )) {
568
568
sb .append ("Zmanim" );
569
- } else if (astronomicalCalendar .getClass ().getName ().equals ("net.sourceforge .zmanim.ZmanimCalendar" )) {
569
+ } else if (astronomicalCalendar .getClass ().getName ().equals ("com.kosherjava .zmanim.ZmanimCalendar" )) {
570
570
sb .append ("BasicZmanim" );
571
571
}
572
572
sb .append ("\" :{\n " );
0 commit comments