Search packages, repositories and app categories

thai_buddhist_date cover
Package detailsv0.4.1

thai_buddhist_date

A small Dart package for parsing and formatting Thai Buddhist (พ.ศ.) dates.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
543
Likes
2
Pub points
160

Install package

flutter pub add thai_buddhist_date

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A lightweight Dart package for parsing and formatting Thai Buddhist (พ.ศ.) dates, enabling seamless integration of the Thai Buddhist calendar in Flutter applications. It supports conversion between Gregorian and Thai Buddhist dates, with intuitive methods for formatting and parsing. Ideal for apps targeting Thai users or requiring culturally specific date handling. The package is compatible across all major platforms and is easy to integrate via pub.

Use cases

  • Handling Thai Buddhist calendar in apps
  • Converting Gregorian to พ.ศ. dates
  • Formatting dates in Thai Buddhist era
  • Supporting localizations in Thailand
  • Displaying historical or religious dates
  • Building culturally aware scheduling tools

Key features

  • Parse and format พ.ศ. dates
  • Convert between Gregorian and พ.ศ.
  • Simple API for date manipulation
  • Cross-platform support
  • Lightweight and dependency-free
  • Easy integration with Flutter

Suitable for

  • Thai-focused applications
  • Religious or cultural apps
  • Date localization features
  • Apps requiring พ.ศ. date display
  • Developers targeting Southeast Asian markets
  • Educational tools with historical timelines

Considerations

  • Requires manual handling of date ranges beyond supported limits
  • Limited to date-only operations (no time support)
  • Not suitable for complex calendar calculations
  • Assumes standard Thai Buddhist year offset (Gregorian + 543)
  • No built-in validation for invalid พ.ศ. dates
  • Best used alongside broader localization packages

Categories

Dependencies

Dependency list 1 items

  • intl>=0.18.0 <0.21.0

Projects using this package

No data available yet.