패키지, 저장소 및 앱 카테고리 검색

패키지 상세v1.2.86

full_calender

풀 캘린더 플러터 라이브러리는 태양력, 음력 및 유리우스 일수 간의 원활한 변환을 가능하게 하며 베트남 음력 시스템에 중점을 둡니다.

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
195
좋아요
47
Pub 점수
160

패키지 설치

flutter pub add full_calender

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

풀 캘린더 플러터 라이브러리는 태양력, 음력, 유리우스력 간의 부드러운 변환을 가능하게 하며 베트남 음력 시스템에 특화된 지원을 제공합니다. 정확한 날짜 계산을 제공하며 문화적으로 특정한 캘린더 기능이 필요한 애플리케이션에 적합합니다. 이 라이브러리는 Android, iOS, 웹, macOS, Windows, Linux 등 모든 주요 플랫폼과 호환되어 국제화 앱에 유연한 선택지가 됩니다. 플러터 퍼블을 통한 통합은 간단하여 빠른 설정과 신뢰할 수 있는 성능을 보장합니다.

사용 사례

  • 베트남 문화 행사 기획
  • 음력 축제 날짜 계산
  • 캘린더 기반 알림 시스템
  • 국제 날짜 변환
  • 역사적 날짜 분석
  • 앱에서 다중 캘린더 표시

주요 기능

  • 베트남 음력 지원
  • 태양-달-유리우스 변환
  • 크로스 플랫폼 호환성
  • 정확한 날짜 연산
  • 간편한 플러터 퍼브 통합
  • 과거 및 미래 날짜 지원

적합한 대상

  • 베트남 사용자를 대상으로 하는 앱
  • 문화 또는 종교 행사 기획자
  • 캘린더 기능이 있는 교육 도구
  • 국제 날짜 변환 유틸리티
  • 달력 논리가 필요한 개발자

고려 사항

  • 태양/달/유리우스 시스템에 한정
  • 내장된 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.

카테고리

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.