TimeOnlyExtensionsIsFullHour Method
Tests if the time in the given TimeOnly object is midnight (0h)
Namespace: MoreDateTime.ExtensionsAssembly: MoreDateTime (in MoreDateTime.dll) Version: 1.3.0
public static bool IsFullHour(
this TimeOnly to,
bool ignoreMilliseconds = true
)
Dim to As TimeOnly
Dim ignoreMilliseconds As Boolean
Dim returnValue As Boolean
returnValue = to.IsFullHour(ignoreMilliseconds)
No code example is currently available or this language may not be supported.
- to TimeOnly
- The first TimeOnly argument
- ignoreMilliseconds Boolean (Optional)
- Determines if the milliseconds will be taken into account or not
BooleanTrue if time is 0h ignoring minures and secondsIn Visual Basic and C#, you can call this method as an instance method on any object of type
TimeOnly. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).