UmbTimeOnly 15.1.0

dotnet add package UmbTimeOnly --version 15.1.0
                    
NuGet\Install-Package UmbTimeOnly -Version 15.1.0
                    
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="UmbTimeOnly" Version="15.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="UmbTimeOnly" Version="15.1.0" />
                    
Directory.Packages.props
<PackageReference Include="UmbTimeOnly" />
                    
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 UmbTimeOnly --version 15.1.0
                    
#r "nuget: UmbTimeOnly, 15.1.0"
                    
#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.
#addin nuget:?package=UmbTimeOnly&version=15.1.0
                    
Install UmbTimeOnly as a Cake Addin
#tool nuget:?package=UmbTimeOnly&version=15.1.0
                    
Install UmbTimeOnly as a Cake Tool

UmbTimeOnly custom property editor.

A simple dropdown property editor for picking the time only. It is based on .NET's TimeOnly.

Features

  • Dropdown UI for selecting time.
  • Easy integration into your .NET application (Code example further down)

Usage

Though simple, this is how the inital state of the property editor: UmbTimeOnly property editor where the time is not picked"

Clicking the clock icon provides a dropdown that let's you select the time. UmbTimeOnly property editor where the time is picked

If you want to use the current time, you can click the button with that name to get it right away.
This shows the property editor before clicking Current Time: Before using the Current Time button

This shows the property editor after clicking Current Time: After using the Current Time button

Code example

An example of how to use this property editor in code.
Here we check if the time is before or after the time that is picked in the editor: Code example

Having picked 12:11:31 this is the output: Code example

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
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
15.1.0 195 5/12/2025
15.0.11 160 4/8/2025
15.0.10 162 4/8/2025
15.0.7 138 4/8/2025
15.0.6 142 4/7/2025
13.7.6 136 4/7/2025
13.7.5 157 4/3/2025
13.7.4 132 4/2/2025
13.7.3 133 4/1/2025
13.7.2 137 4/1/2025