- Added support for
NepaliDateTime
up to 2250 BS.
- Same as [3.0.6]
- Fixes date time conversion for timezone other than Nepal.
- Adds english support for moment conversion.
- Fixed incorrect date conversion for the year 1970.
Breaking Changes
- Migrated to Null Safety
- Added support for
NepalitDateTime
from 1970 BS to 2100 BS.
- Renamed
weekDay
toweekday
.
- Improved Date Conversion Speed
- Added
weekDay
property to NepaliDateTime.
- Default language for all the utility classes can be set as
NepaliUtils(language);
. Breaking Changes language
property is now optional for utility classes.
fromDateTime()
is deprecated. UsetoNepaliDateTime()
exposed toDateTime
instead.- Added
add()
,substract()
,format()
,millisecondSinceEpoch
,microsecondSinceEpoch
toNepaliDateTime
.
- Fixes in NepaliNumberFormat.
- Fixed lint warning.
- Added
totalDays
getter for NepaliDateTime class.
- [Improvement] Code refactor.
- Added dart docs.
- Methods in NepaliNumberFormat are now generic and supports types
String
andnum
.
- FIXED Issue with comma formatting in
NepaliNumberFormat
.
- ADDED
mergeTime
method to NepaliDateTime.
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.
- ADDED
NepaliMoment
class.
- ADDED
NepaliUnicode
class. - Updated Dart Constraint to
>=2.2.2 <3.0.0
.
- Fixed Wrong current datetime retrieval.
formatWithComma
boolean argument added tofrom
&fromString
methods of NepaliNumber.
- Added Example
Initial Version with
- NepaliDateTime
- DateConverter
- NepaliDateFormatter
- NepaliNumber