DisplayDaysInMonth Method (Moment) |
Get the number of days in this moment.
Namespace: MomentSharpAssembly: MomentSharp (in MomentSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static int DaysInMonth(
this Moment moment
)
<ExtensionAttribute>
Public Shared Function DaysInMonth (
moment As Moment
) As Integer
public:
[ExtensionAttribute]
static int DaysInMonth(
Moment^ moment
)
[<ExtensionAttribute>]
static member DaysInMonth :
moment : Moment -> int
Parameters
- moment
- Type: MomentSharpMoment
Moment
Return Value
Type:
Int32number of days in the month
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Moment. 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).
See Also