NepaliDateFormat class
NepaliDateFormat is for formatting and parsing dates in Bikram Sambat.
Constructors
- NepaliDateFormat(String pattern, [Language? language])
-
Creates a new NepaliDateFormat
with the
pattern
andlanguage
specified. - NepaliDateFormat.d([Language? language])
- 2076-08-05 => 5
- NepaliDateFormat.E([Language? language])
- 2076-08-05 => Thu
- NepaliDateFormat.EEEE([Language? language])
- 2076-08-05 => Thursday
- NepaliDateFormat.H([Language? language])
- 2076-08-05T21:04:25 => 21
- NepaliDateFormat.Hm([Language? language])
- 2076-08-05T21:04:25 => 21:04
- NepaliDateFormat.Hms([Language? language])
- 2076-08-05T21:04:25 => 21:04:25
- NepaliDateFormat.j([Language? language])
- 2076-08-05T21:04:25 => p PM
- NepaliDateFormat.jm([Language? language])
- 2076-08-05T21:04:25 => 9:04 PM
- NepaliDateFormat.jms([Language? language])
- 2076-08-05T21:04:25 => 9:04:25 PM
- NepaliDateFormat.LLL([Language? language])
- 2076-08-05 => Marga
- NepaliDateFormat.LLLL([Language? language])
- 2076-08-05 => Mangsir
- NepaliDateFormat.M([Language? language])
- 2076-08-05 => 8
- NepaliDateFormat.m([Language? language])
- 2076-08-05T21:04:25 => 9
- NepaliDateFormat.Md([Language? language])
- 2076-08-05 => 8/15
- NepaliDateFormat.MEd([Language? language])
- 2076-08-05 => Thu, 8/15
- NepaliDateFormat.MMM([Language? language])
- 2076-08-05 => Marga
- NepaliDateFormat.MMMd([Language? language])
- 2076-08-05 => Marga 5
- NepaliDateFormat.MMMEd([Language? language])
- 2076-08-05 => Thursday, Marga 5
- NepaliDateFormat.MMMM([Language? language])
- 2076-08-05 => Mangsir
- NepaliDateFormat.MMMMd([Language? language])
- 2076-08-05 => Mangsir 5
- NepaliDateFormat.MMMMEEEEd([Language? language])
- 2076-08-05 => Thursday, Mangsir 5
- NepaliDateFormat.ms([Language? language])
- 2076-08-05T21:04:25 => 9:04
- NepaliDateFormat.QQQ([Language? language])
- 2076-08-05 => Q3
- NepaliDateFormat.QQQQ([Language? language])
- 2076-08-05 => 3rd quarter
- NepaliDateFormat.s([Language? language])
- 2076-08-05T21:04:25 => 25
- NepaliDateFormat.y([Language? language])
- 2076-08-05 => 2076
- NepaliDateFormat.yM([Language? language])
- 2076-08-05 => 2076/08
- NepaliDateFormat.yMd([Language? language])
- 2076-08-05 => 2076/08/05
- NepaliDateFormat.yMEd([Language? language])
- 2076-08-05 => Thu, 2076/08/05
- NepaliDateFormat.yMMM([Language? language])
- 2076-08-05 => Marga 2076
- NepaliDateFormat.yMMMd([Language? language])
- 2076-08-05 => Marga 5,2076
- NepaliDateFormat.yMMMEd([Language? language])
- 2076-08-05 => Thu, Marga 5,2076
- NepaliDateFormat.yMMMM([Language? language])
- 2076-08-05 => Mangsir 2076
- NepaliDateFormat.yMMMMd([Language? language])
- 2076-08-05 => Mangsir 5,2076
- NepaliDateFormat.yMMMMEEEEd([Language? language])
- 2076-08-05 => Thursday, Mangsir 5, 2076
- NepaliDateFormat.yQQQ([Language? language])
- 2076-08-05 => Q3 2076
- NepaliDateFormat.yQQQQ([Language? language])
- 2076-08-05 => 3rd quarter 2076
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
format(
NepaliDateTime date) → String -
Return a string representing
date
formatted according to assigned_pattern
and_language
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parseAndFormat(
String dateString) → String -
Converts the formatted date string into a string representing
dateString
formatted according assigned_pattern
and_language
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited