nepali_utils 3.0.3 icon indicating copy to clipboard operation
nepali_utils: ^3.0.3 copied to clipboard

A pure dart package with collection of Nepali Utilities like Date converter, Date formatter, DateTime, Nepali Numbers, Nepali Unicode, Nepali Moments and many more.

3.0.3 #

  • Added english support for moment conversion.

3.0.2 #

3.0.1 #

  • Fixed incorrect date conversion for the year 1970.

3.0.0 #

Breaking Changes

  • Migrated to Null Safety
  • Added support for NepalitDateTime from 1970 BS to 2100 BS.

2.2.1 #

  • Renamed weekDay to weekday.

2.2.0+2 #

  • Improved Date Conversion Speed

2.2.0+1 #

  • Added weekDay property to NepaliDateTime.

2.2.0 #

  • Default language for all the utility classes can be set as NepaliUtils(language);. Breaking Changes
  • language property is now optional for utility classes.

2.1.0+5 #

  • fromDateTime() is deprecated. Use toNepaliDateTime() exposed to DateTime instead.
  • Added add(), substract(), format(), millisecondSinceEpoch, microsecondSinceEpoch to NepaliDateTime.

2.1.0+4 #

  • Fixes in NepaliNumberFormat.
  • Fixed lint warning.

2.1.0+1 #

  • Added totalDays getter for NepaliDateTime class.

2.1.0 #

  • [Improvement] Code refactor.
  • Added dart docs.
  • Methods in NepaliNumberFormat are now generic and supports types String and num.

2.0.0+4 #

  • FIXED Issue with comma formatting in NepaliNumberFormat.

2.0.0+2 #

  • ADDED mergeTime method to NepaliDateTime.

2.0.0+1 #

BREAKING CHANGES

  • DateConvertor is now integrated to NepaliDateTime class.
  • NepaliNumber is renamed into NepaliNumberFormat.
  • NepaliDateFormatter is renamed into NepaliDateFormat.
  • FEATURE The package now supports from 2000 B.S. upto 2099 B.S.
  • Preconfigured constructors are added for quick formatting in NepaliDateFormat class.

See ReadMe section to know about using newer APIs.

1.1.0+2 #

  • ADDED NepaliMoment class.

1.1.0 #

  • ADDED NepaliUnicode class.
  • Updated Dart Constraint to >=2.2.2 <3.0.0.

1.0.1 #

  • Fixed Wrong current datetime retrieval.

1.0.0+3 #

  • formatWithComma boolean argument added to from & fromString methods of NepaliNumber.

1.0.0+1 #

  • Added Example

1.0.0 #

Initial Version with

  • NepaliDateTime
  • DateConverter
  • NepaliDateFormatter
  • NepaliNumber
36
likes
130
pub points
87%
popularity

Publisher

verified publisher iconsarbagyastha.com.np

A pure dart package with collection of Nepali Utilities like Date converter, Date formatter, DateTime, Nepali Numbers, Nepali Unicode, Nepali Moments and many more.

Homepage
Repository (GitHub)

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

More

Packages that depend on nepali_utils