NepaliDatePicker.Maui 1.0.2

dotnet add package NepaliDatePicker.Maui --version 1.0.2
                    
NuGet\Install-Package NepaliDatePicker.Maui -Version 1.0.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NepaliDatePicker.Maui" Version="1.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NepaliDatePicker.Maui" Version="1.0.2" />
                    
Directory.Packages.props
<PackageReference Include="NepaliDatePicker.Maui" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add NepaliDatePicker.Maui --version 1.0.2
                    
#r "nuget: NepaliDatePicker.Maui, 1.0.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package NepaliDatePicker.Maui@1.0.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=NepaliDatePicker.Maui&version=1.0.2
                    
Install as a Cake Addin
#tool nuget:?package=NepaliDatePicker.Maui&version=1.0.2
                    
Install as a Cake Tool

Nepali Calendar

A collection of .NET libraries for the Bikram Sambat (BS / Nepali) calendar system.

Package NuGet License Description
NepaliUtility.Core NuGet License: MIT Utility library for Nepali .NET apps — BS calendar, formatting, and more
NepaliDatePicker.Maui NuGet License: MIT BS date picker control for .NET MAUI
NepaliDatePicker.Avalonia NuGet License: MIT BS date picker control for Avalonia UI

NepaliUtility.Core

A zero-dependency utility library for .NET developers building Nepali applications. Works in any .NET 8+ project — console, ASP.NET Core, Blazor, MAUI, Avalonia — no UI framework required.

Features

  • BS ↔ AD date conversion (BsAdConverter) with DateTime and DateOnly support
  • Authoritative Government of Nepal calendar data for BS 1970–2100
  • Immutable NepaliDate record — arithmetic, comparison operators, parsing, validation
  • Token-based date formatting ("EEEE, d MMMM yyyy") with full Devanagari output
  • Relative-time strings in English and Nepali ("3 days ago" / "३ दिन पहिले")
  • Devanagari numeral conversion (NepaliNumberConverter)
  • Nepal fiscal year helpers (NepaliFiscalYear)

Install

dotnet add package NepaliUtility.Core

Quick start

using NepaliUtility.Services;
using NepaliUtility.Formatting;

NepaliDate today = BsAdConverter.Today;              // today in BS
DateTime   ad    = BsAdConverter.BsToAd(today);      // BS → AD

today.Format("EEEE, d MMMM yyyy")                    // "Thursday, 15 Baisakh 2082"
today.Format("d MMMM yyyy", nepali: true)             // "१५ बैशाख २०८२"
today.Elapsed()                                       // "Just now"

Full API reference → src/core/README.md


NepaliDatePicker.Maui

A Material Design BS date picker for .NET MAUI — available as a drop-in XAML control or a DI service. Runs on Android, iOS, Windows, and macOS.

Features

  • Material Design 3 calendar grid and iOS-style wheel picker
  • Bottom-sheet or dialog presentation
  • BS / AD dual-calendar chip toggle
  • Full Devanagari script rendering
  • Light & dark theme (follows system appearance)
  • Year / month fast-nav grid
  • Auto day clamping for variable BS month lengths
  • Full MD3 color palette override
  • INepaliDatePickerService for programmatic / MVVM usage

Install

dotnet add package NepaliDatePicker.Maui
// MauiProgram.cs
builder.AddNepaliDatePicker();

Quick start

xmlns:nep="clr-namespace:NepaliDatePicker.Controls;assembly=NepaliDatePicker.Maui"

<nep:NepaliDatePicker
    SelectedDate="{Binding MyDate}"
    Placeholder="Pick a date…"
    Format="d MMMM yyyy"
    DisplayMode="Both"
    DateSelected="OnDateSelected" />

Full documentation → docs/maui.md


NepaliDatePicker.Avalonia

A Material Design BS date picker for Avalonia UI — text-field input control, standalone button trigger, and a programmatic service API. Runs on Windows, macOS, Linux, Android, and iOS.

Platform behaviour

Platform Presentation
Windows / macOS / Linux Centered dialog window
Android / iOS Full-screen overlay

Features

  • NepaliDatePickerField — tappable text field with placeholder and label
  • NepaliDatePickerButton — button trigger that shows the selected date
  • Calendar grid and spinner-style input picker styles
  • BS / AD dual-calendar chip toggle
  • Full Devanagari script rendering
  • Light & dark theme
  • Full MD3 color palette override
  • INepaliDatePickerService for programmatic usage

Install

dotnet add package NepaliDatePicker.Avalonia

Quick start

xmlns:npd="clr-namespace:NepaliDatePicker.Controls;assembly=NepaliDatePicker.Avalonia"

<npd:NepaliDatePickerField
    Label="Date of Birth"
    PlaceholderText="Select a BS date…"
    DateSelected="OnDateSelected" />

Full documentation → docs/avalonia.md


Repository layout

src/
├─ core/        NepaliUtility.Core          — BS calendar primitives (NuGet)
├─ maui/        NepaliDatePicker.Maui       — MAUI picker control (NuGet)
└─ avalonia/    NepaliDatePicker.Avalonia   — Avalonia picker control (NuGet)

example/
├─ maui/        MAUI demo app (Android / iOS / Windows / macOS)
└─ avalonia/    Avalonia demo app (Desktop / Android / iOS)

docs/
├─ maui.md      Full MAUI API reference
└─ avalonia.md  Full Avalonia API reference

License

MIT

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-android36.0 is compatible.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-ios26.0 is compatible.  net10.0-maccatalyst was computed.  net10.0-maccatalyst26.0 is compatible.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed.  net10.0-windows10.0.19041 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.2 107 6/26/2026
1.0.1 110 6/20/2026
1.0.0 103 6/11/2026
1.0.0-preview1 105 6/7/2026