diff --git a/lib/ilib_date.dart b/lib/ilib_date.dart
index 2faac4c..8fc8f78 100644
--- a/lib/ilib_date.dart
+++ b/lib/ilib_date.dart
@@ -1,18 +1,18 @@
class ILibDateOptions {
- /// [locale] Locales are specified either with a specifier string that follows the BCP-47 convention,
- /// [year] The year
- /// [month] The month
- /// [week] The week
- /// [day] The day of the month
- /// [hour] The hour of the day
- /// [minute] The minute [0..59]
- /// [second] The second [0..59]
- /// [millisecond] The millisecond [0..999]
- /// [unixtime] Sets the time of this instance according to the given unix time.
- /// [timezone] Time zone name as a string
- /// [calendar] Same as "type" property
- /// [dateTime] DateTime class of flutter
- /// [type] Specifies the type/calendar of the date desired.
+ /// [locale] Locales are specified either with a specifier string that follows the BCP-47 convention.
+ /// [year] The year
+ /// [month] The month
+ /// [week] The week
+ /// [day] The day of the month
+ /// [hour] The hour of the day
+ /// [minute] The minute [0..59]
+ /// [second] The second [0..59]
+ /// [millisecond] The millisecond [0..999]
+ /// [unixtime] Sets the time of this instance according to the given unix time.
+ /// [timezone] Time zone name as a string
+ /// [calendar] Same as "type" property
+ /// [dateTime] DateTime class of flutter
+ /// [type] Specifies the type/calendar of the date desired.
ILibDateOptions(
{this.locale,
this.year,
diff --git a/lib/ilib_datefmt.dart b/lib/ilib_datefmt.dart
index be56aab..6926771 100644
--- a/lib/ilib_datefmt.dart
+++ b/lib/ilib_datefmt.dart
@@ -119,17 +119,17 @@ class ILibDateFmt {
}
class ILibDateFmtOptions {
- /// [locale] Locales are specified either with a specifier string that follows the BCP-47 convention,
- /// [length] Specifies the length of the format to use.Valid values are "short", "medium", "long" and "full".
- /// [type] Specifies whether this formatter should format times only, dates only, or both times and dates together. Valid values are "time", "date", and "datetime".
- /// [calendar] The type of calendar to use for this format.
- /// [timezone] Time zone to use when formatting times.
- /// [useNative] The flag used to determine whether to use the native script settings for formatting the numbers.
- /// [date] This property tells which components of a date format to use. Valid values are: "dmwy", "dmy", "dmw", "dm", "my", "dw", "d", "m","n","y". Default components, if this property is not specified, is "dmy".
- /// [time] This property gives which components of a time format to use. Valid values for this property are: "ahmsz", "ahms", "hmsz", "hms", "ahmz", "ahm", hmz", ah", "hm", "ms", "h", "m", "s". Default value if this property is not specified is "hma".
- /// [clock] Hour format. Valid values: "12", "24".
- /// [template] Custom date/time format string.
- /// [meridiems] string that specifies what style of meridiems to use with this format. The choices are "default", "gregorian", "ethiopic", and "chinese".
+ /// [locale] Locales are specified either with a specifier string that follows the BCP-47 convention,
+ /// [length] Specifies the length of the format to use.Valid values are "short", "medium", "long" and "full".
+ /// [type] Specifies whether this formatter should format times only, dates only, or both times and dates together. Valid values are "time", "date", and "datetime".
+ /// [calendar] The type of calendar to use for this format.
+ /// [timezone] Time zone to use when formatting times.
+ /// [useNative] The flag used to determine whether to use the native script settings for formatting the numbers.
+ /// [date] This property tells which components of a date format to use. Valid values are: "dmwy", "dmy", "dmw", "dm", "my", "dw", "d", "m","n","y". Default components, if this property is not specified, is "dmy".
+ /// [time] This property gives which components of a time format to use. Valid values for this property are: "ahmsz", "ahms", "hmsz", "hms", "ahmz", "ahm", hmz", ah", "hm", "ms", "h", "m", "s". Default value if this property is not specified is "hma".
+ /// [clock] Hour format. Valid values: "12", "24".
+ /// [template] Custom date/time format string.
+ /// [meridiems] string that specifies what style of meridiems to use with this format. The choices are "default", "gregorian", "ethiopic", and "chinese".
ILibDateFmtOptions(
{this.locale,
this.length,
@@ -156,9 +156,9 @@ class ILibDateFmtOptions {
}
class MeridiemsInfo {
- /// [name] The name of the meridiem
- /// [start] The startTime of meridiem
- /// [end] The endTime of meridiem
+ /// [name] The name of the meridiem.
+ /// [start] The startTime of meridiem.
+ /// [end] The endTime of meridiem.
MeridiemsInfo({this.name, this.start, this.end});
String? name;
String? start;
diff --git a/lib/ilib_durationfmt.dart b/lib/ilib_durationfmt.dart
index b076a6a..dbd48df 100644
--- a/lib/ilib_durationfmt.dart
+++ b/lib/ilib_durationfmt.dart
@@ -56,9 +56,9 @@ class ILibDurationFmt {
return result;
}
- /// Return the locale that was used to construct this duration formatter object.
- /// If the locale was not given as parameter to the constructor, this method returns the default
- /// locale of the system.
+ /// Return the locale that was used to construct this duration formatter object.
+ /// If the locale was not given as parameter to the constructor, this method returns the default
+ /// locale of the system.
String getLocale() {
String result = '';
final String formatOptions = toJsonString();
@@ -68,9 +68,9 @@ class ILibDurationFmt {
return result;
}
- /// Return the length that was used to construct this duration formatter object. If the
- /// length was not given as parameter to the constructor, this method returns the default
- /// length. Valid values are "short", "medium", "long", and "full".
+ /// Return the length that was used to construct this duration formatter object. If the
+ /// length was not given as parameter to the constructor, this method returns the default
+ /// length. Valid values are "short", "medium", "long", and "full".
String getLength() {
String result = '';
final String formatOptions = toJsonString();
@@ -79,8 +79,8 @@ class ILibDurationFmt {
return result;
}
- /// Return the style that was used to construct this duration formatter object.
- /// Valid values are "text" or "clock".
+ /// Return the style that was used to construct this duration formatter object.
+ /// Valid values are "text" or "clock".
String getStyle() {
String result = '';
final String formatOptions = toJsonString();
@@ -91,10 +91,10 @@ class ILibDurationFmt {
}
class ILibDurationFmtOptions {
- /// [locale] Locales are specified either with a specifier string that follows the BCP-47 convention.
- /// [length] Specifies the length of the format to use. Valid values are "short", "medium", "long" and "full".
- /// [style] whether hours, minutes, and seconds should be formatted as a text string or as a regular time as on a clock.
- /// [useNative] The flag used to determine whether to use the native script settings for formatting the numbers.
+ /// [locale] Locales are specified either with a specifier string that follows the BCP-47 convention.
+ /// [length] Specifies the length of the format to use. Valid values are "short", "medium", "long" and "full".
+ /// [style] whether hours, minutes, and seconds should be formatted as a text string or as a regular time as on a clock.
+ /// [useNative] The flag used to determine whether to use the native script settings for formatting the numbers.
ILibDurationFmtOptions({
this.locale,
this.length,