kosher_dart
유대교의 할라히크 시간(즈마니姆)을 계산하기 위한 Dart 라이브러리로, 기도, 샤바트 및 기타 유대교 종교 관습에 대한 천문학적 시간을 포함합니다.
yakir8/kosher_dart open-source repository details.
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
This API for a specialized calendar that can calculate different astronomical times including sunrise and sunset and Jewish zmanim or religious times for prayers and other Jewish religious dutuies. This API Translated KosherJava Zmanim API from JAVA to Dart language.
The library is released under the LGPL 2.1 license.
Add this to your package's pubspec.yaml file:
dependencies:
kosher_dart: ^2.0.20
To use this plugin, follow the plugin installation instructions.
Add the following import to your Dart code:
import 'package:kosher_dart/kosher_dart.dart';
JewishDate jewishDate = JewishDate();
HebrewDateFormatter hebrewDateFormatter = HebrewDateFormatter();
hebrewDateFormatter.hebrewFormat = true; // optional
hebrewDateFormatter.useGershGershayim = true; // optional
String hebrewDate = hebrewDateFormatter.format(jewishDate);
JewishCalendar jewishCalendar = JewishCalendar();
HebrewDateFormatter hebrewDateFormatter = HebrewDateFormatter();
jewishCalendar.inIsrael = true; // set to true if your location is in israel
hebrewDateFormatter.hebrewFormat = true; // optional
hebrewDateFormatter.useGershGershayim = true; // optional
String yomTov = hebrewDateFormatter.formatYomTov(jewishCalendar);
GeoLocation geoLocation = GeoLocation.setLocation(
'Jerusalem', 31.7962419, 35.2453988, DateTime.now());
ComplexZmanimCalendar complexZmanimCalendar = ComplexZmanimCalendar.intGeoLocation(geoLocation);
DateTime? sofZmanTfila = complexZmanimCalendar.getSofZmanTfilaGRA();
DateTime? minchaKetana = complexZmanimCalendar.getMinchaKetana();
의존성 목록 5 개
^0.20.2^6.1.0^2.2.0^1.31.0^6.0.0사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗