Header Text Coming Soon! You can Contact Us below anytime!
Assembly: SpiderMaster.Net (in SpiderMaster.Net.dll) Version: 0.0.6.0 (0.0.6.0)
[This is preliminary documentation and is subject to change.]
Contains the Implementation for a persons Age
Namespace:
SpiderMasterAssembly: SpiderMaster.Net (in SpiderMaster.Net.dll) Version: 0.0.6.0 (0.0.6.0)
Syntax
| C# | Visual Basic | Visual C++ |
[SerializableAttribute] public struct Age : IFormattable, IComparable, IComparable<Age>, IComparable<TimeSpan>
<SerializableAttribute> _ Public Structure Age _ Implements IFormattable, IComparable, IComparable(Of Age), _ IComparable(Of TimeSpan)
[SerializableAttribute] public value class Age : IFormattable, IComparable, IComparable<Age>, IComparable<TimeSpan>
Members
| All Members | Constructors | Fields | Properties | Methods |
| Member | Description | |
|---|---|---|
| Age(DateTime) | Creates a new instance of Age starting from the given date until now.
| |
| Age(DateTime, DateTime) | Creates a new instance of Age starting from the given date until now
| |
| Advent | Gets/Sets the start of the age
| |
| CompareTo(Object) | ||
| CompareTo(TimeSpan) | ||
| CompareTo(Age) | ||
| Days | Gets the number of days old.
| |
| Elapsed | Gets the elapsed time
| |
| Empty | Empty.
| |
| Extract(DateTime, DateTime, Int32%, Int32%, Int32%, Int32%) | Calculates the years, months, weeks and days within the two given dates
| |
| Format(DateTime) | Formats and returns the Age.
| |
| Format(DateTime, DateTime) | Formats and returns the Age.
| |
| Format(DateTime, Int32) | Formats and returns the Age.
| |
| Format(DateTime, DateTime, Int32) | Formats and returns the Age.
| |
| GreaterThan(Age, Age) | Implements the operator >.
| |
| GreaterThanOrEqual(Age, Age) | Implements the operator >=.
| |
| ImplicitWideningImplicitImplicitImplicit(Age to TimeSpan) | Performs an implicit conversion from Age to [!:SpiderMaster.TimeSpan].
| |
| IsEmpty | Gets a value indicating that the age is empty (both advent and terminus dates are MinValue)
| |
| LessThan(Age, Age) | Implements the operator <.
| |
| LessThanOrEqual(Age, Age) | Implements the operator <=.
| |
| Months | Gets the number of months old.
| |
| Terminus | Gets/Sets the end of the age
| |
| ToString()()()() | Returns a [!:SpiderMaster.String] that represents this instance.
(Overrides ValueType..::..ToString()()()().) | |
| ToString(Int32) | Returns a [!:SpiderMaster.String] that represents this instance.
| |
| ToString(String) | Returns a [!:SpiderMaster.String] that represents this instance.
| |
| ToString(Int32, Boolean) | Returns a [!:SpiderMaster.String] that represents this instance.
| |
| ToString(String, IFormatProvider) | Returns a [!:SpiderMaster.String] that represents this instance.
| |
| Update()()()() | Updates the age to now.
| |
| Update(DateTime) | Updates the age to the given terminus
| |
| Weeks | Gets the number of weeks old.
| |
| Years | Gets the number of years old.
|