パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v1.2.86

full_calender

フルカレンダーFlutterライブラリは、太陽暦、太陰暦、ユリウス日間のシームレスな変換を可能にし、ベトナム太陰暦システムに焦点を当てています。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
195
いいね数
47
Pub ポイント
160

パッケージをインストール

flutter pub add full_calender

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

フルカレンダーFlutterライブラリは、太陽暦、陰暦、ユリウス暦の間でスムーズな変換を可能にし、ベトナムの陰暦システムを専用でサポートしています。正確な日付計算を提供し、文化的に特化したカレンダ機能を必要とするアプリケーションに最適です。このライブラリはAndroid、iOS、Web、macOS、Windows、Linuxなどすべての主要プラットフォームと互換性があり、国際化アプリケーションにとって汎用的な選択肢です。Flutter Pubによる統合は簡単で、迅速なセットアップと信頼性の高いパフォーマンスを保証します。

用途

  • ベトナム文化イベントの企画
  • 旧暦祭りの日付計算
  • カレンダーに基づくリマインダーシステム
  • 国際的な日付変換
  • 歴史的日付分析
  • アプリでの複数カレンダー表示

主な機能

  • ベトナム暦サポート
  • 太陽-月-ユリウス変換
  • クロスプラットフォーム互換性
  • 正確な日付演算
  • Flutter Pub との簡単な統合
  • 過去および将来の日付のサポート

適している対象

  • ベトナムユーザーをターゲットにしたアプリ
  • 文化的または宗教的なイベントプランナー
  • カレンダー機能付きの教育ツール
  • 国際日付変換ユーティリティ
  • 月暦ロジックが必要な開発者

注意事項

  • 太陽・月・ユリウスシステムに限定
  • 組み込みのUIコンポーネントなし
  • カレンダーディスプレイの手動処理が必要
  • 正確な入力日付に依存しています
  • 高頻度の更新には最適化されていません
  • ベトナム語のコンテキスト以外のローカライゼーションなし

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

💰 Sponsor for my work:
  • Momo: Tài trợ qua MoMo

Full Calendar Flutter Library

Welcome to the Full Calendar Library! This library provides a comprehensive set of tools for working with lunar dates, stems, branches, and more, making it easy to integrate traditional calendar features into your Flutter applications.

Features

  • Lunar Date Conversion: Easily convert between solar and lunar dates.
  • Number of Julian day Conversion: Easily convert solar and lunar dates to number of Julian day.
  • Stems and Branches: Retrieve stems and branches for years, months, days, and hours.
  • Multilingual Support: Get names and representations in various languages.
  • Lucky Day and Hour Detection: Find out if a day or hour is considered lucky based on lunar calendar principles.

Getting Started

To use this library, add the following dependency to your pubspec.yaml file:

dependencies:
  full_calender: 

Then run:

$ flutter pub get

Import the library in your Dart code:

import 'package:full_calender/full_calender.dart';

Usage

Lunar Date Conversion

// Convert lunar date to solar date
final lunarDate = LunarDateTime(year: 2023, month: 11, day: 10);
final solarDate = FullCalenderExtension.convertLunarDateToSolarDate(lunarDate);
print(solarDate); // Output: 2023-12-28

Stems and Branches

// Get stem and branch for a specific year
final stemBranchOfYear = StemBranch.year(2023);
print(stemBranchOfYear.name(LanguageName.vietNam)); // Output: Kỷ Hợi

Lucky Day and Hour Detection

// Check if a specific day is considered lucky
final luckyDay = FullCalender(date: DateTime(2023, 12, 28)).lunarDate.isLuckyDay;
print(luckyDay); // Output: true

// Get a list of lucky hours for a specific date
final luckyHours = FullCalender(date: DateTime(2023, 11, 20)).lunarDate.listLuckyHours;
print(luckyHours); // Output: [true, true,false,true,false,false,true,false,true,true,false,false]

Stems and Branches

// Get stem and branch for a specific year
final stemBranchOfYear = StemBranch.year(2023);
print(stemBranchOfYear.name(LanguageName.vietNam)); // Output: Kỷ Hợi

For more examples, check out the example directory.

Issues and Feedback Please file issues or provide feedback on our GitHub repository.

カテゴリー

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。