NepaliDateConverter
Properties
Gets the current time in Kathmandu.
Strictly adjusted to Asia/Kathmandu TimeZone.
Strictly adjusted to Asia/Kathmandu TimeZone.
Strictly adjusted to Asia/Kathmandu TimeZone.
Functions
Allows selection of dates after a given date.
Allows selection of dates before a given date.
Overloaded function of above compareDates function.
Compares a CustomCalendar instance with a date represented by the given SimpleDate.
Compares a SimpleDate instance with a date represented by the given year, month, and dayOfMonth.
This function converts english date to nepali date.
This function converts nepali date to english date.
This function converts String to English, i.e. converts nepali numbers of string to english numbers.
This function converts String to Nepali, i.e. converts english numbers of string to nepali numbers.
Creates a NepaliSelectableDates object that represents a selectable date range.
Overload function of above formatEnglishDate function without date range validation.
Formats a English date based on the specified user preferences.
Formats an English date based on the specified Unicode pattern and language preferences.
Converts an English (Gregorian) date and time to ISO 8601 UTC format.
Formats an English date and time based on the specified Unicode pattern and language preferences.
Overload function of above formatNepaliDate function without date range validation.
Formats a Nepali date based on the specified user preferences. (Without date range validation)
Formats a Nepali date based on the specified Unicode pattern and language preferences.
Formats a Nepali date and time based on the specified Unicode pattern and language preferences.
Converts a Nepali (Bikram Sambat) date and time to ISO 8601 UTC format.
Formats a time based on the specified Unicode pattern and language preferences.
Converts ISO 8601 UTC format to CustomDateTime which represents the English CustomCalendar and Nepali SimpleTime.
Calculates the total number of days between two SimpleDate objects in the English calendar.
Formats a SimpleTime object into a time string in English.
Formats a SimpleTime object into a Nepali time string.
Returns the Nepali calendar representation for a specific Nepali date (year, month, day). This function retrieves the CustomCalendar object that holds detailed information about the Nepali date including the total days in the month, the day of the week, and other necessary calendar data.
Adjusts a given Nepali date by adding or subtracting number of days.
Converts ISO 8601 UTC format to CustomDateTime which represents the Nepali CustomCalendar and Nepali SimpleTime.
Calculates the total number of days between two SimpleDate objects in the Nepali calendar.
This function gives particular Nepali month details in Nepali calendar.
This function returns total days in a English month.
This function returns total days in a Nepali month.
This function localizes String to either English or Nepali, i.e. converts english numbers of string to nepali numbers, and vice versa.
Replaces the delimiter in a date string formatted with the original delimiter.
Inverse of localizeDigits. Convert digits in any supported non-Latin script back to ASCII 0-9. Non-digit characters pass through unchanged.