1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-14 04:35:41 +00:00

Bump upm to 3.2.0-nightly.149

This commit is contained in:
Oliver Booth 2022-12-27 13:22:05 +00:00
parent 04cdd28a9e
commit 52dbae4f0c
No known key found for this signature in database
GPG Key ID: 32A00B35503AF634
4 changed files with 110 additions and 5 deletions

Binary file not shown.

BIN
X10D.dll

Binary file not shown.

111
X10D.xml
View File

@ -8395,6 +8395,61 @@
A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalDays" /> will equal <paramref name="value" /> × 7. A <see cref="T:System.TimeSpan" /> whose <see cref="P:System.TimeSpan.TotalDays" /> will equal <paramref name="value" /> × 7.
</returns> </returns>
</member> </member>
<member name="T:X10D.Time.CharSpanExtensions">
<summary>
Time-related extension methods for <see cref="T:System.ReadOnlySpan`1" /> of <see cref="T:System.Char" />.
</summary>
</member>
<member name="M:X10D.Time.CharSpanExtensions.ToTimeSpan(System.ReadOnlySpan{System.Char})">
<summary>
Parses this span of characters as a shorthand time span (e.g. 3w 2d 1h) and converts it to an instance of
<see cref="T:System.TimeSpan" />.
</summary>
<param name="input">
The input span of characters. Floating point is not supported, but integers with the following units are supported:
<list type="table">
<listheader>
<term>Suffix</term>
<description>Meaning</description>
</listheader>
<item>
<term>ms</term>
<description>Milliseconds</description>
</item>
<item>
<term>s</term>
<description>Seconds</description>
</item>
<item>
<term>m</term>
<description>Minutes</description>
</item>
<item>
<term>h</term>
<description>Hours</description>
</item>
<item>
<term>d</term>
<description>Days</description>
</item>
<item>
<term>w</term>
<description>Weeks</description>
</item>
<item>
<term>mo</term>
<description>Months</description>
</item>
<item>
<term>y</term>
<description>Years</description>
</item>
</list>
</param>
<returns>A new instance of <see cref="T:System.TimeSpan" />.</returns>
</member>
<member name="T:X10D.Time.DateTimeExtensions"> <member name="T:X10D.Time.DateTimeExtensions">
<summary> <summary>
Extension methods for <see cref="T:System.DateTime" />. Extension methods for <see cref="T:System.DateTime" />.
@ -9148,7 +9203,7 @@
</member> </member>
<member name="T:X10D.Time.StringExtensions"> <member name="T:X10D.Time.StringExtensions">
<summary> <summary>
Extension methods for <see cref="T:System.String" />. Time-related extension methods for <see cref="T:System.String" />.
</summary> </summary>
</member> </member>
<member name="M:X10D.Time.StringExtensions.ToTimeSpan(System.String)"> <member name="M:X10D.Time.StringExtensions.ToTimeSpan(System.String)">
@ -9156,7 +9211,7 @@
Parses a shorthand time span string (e.g. 3w 2d 1h) and converts it to an instance of <see cref="T:System.TimeSpan" />. Parses a shorthand time span string (e.g. 3w 2d 1h) and converts it to an instance of <see cref="T:System.TimeSpan" />.
</summary> </summary>
<param name="input"> <param name="input">
The input string. Floating point is not supported, but range the following units are supported: The input string. Floating point is not supported, but integers with the following units are supported:
<list type="table"> <list type="table">
<listheader> <listheader>
@ -9229,6 +9284,57 @@
Represents a class which contains a <see cref="T:System.String" /> parser which converts into <see cref="T:System.TimeSpan" />. Represents a class which contains a <see cref="T:System.String" /> parser which converts into <see cref="T:System.TimeSpan" />.
</summary> </summary>
</member> </member>
<member name="M:X10D.Time.TimeSpanParser.TryParse(System.ReadOnlySpan{System.Char},System.TimeSpan@)">
<summary>
Attempts to parses a shorthand time span (e.g. 3w 2d 1h) as a span of characters, converting it to an instance of
<see cref="T:System.TimeSpan" /> which represents that duration of time.
</summary>
<param name="value">
The input span of characters. Floating point is not supported, but range the following units are supported:
<list type="table">
<listheader>
<term>Suffix</term>
<description>Meaning</description>
</listheader>
<item>
<term>ms</term>
<description>Milliseconds</description>
</item>
<item>
<term>s</term>
<description>Seconds</description>
</item>
<item>
<term>m</term>
<description>Minutes</description>
</item>
<item>
<term>h</term>
<description>Hours</description>
</item>
<item>
<term>d</term>
<description>Days</description>
</item>
<item>
<term>w</term>
<description>Weeks</description>
</item>
<item>
<term>mo</term>
<description>Months</description>
</item>
<item>
<term>y</term>
<description>Years</description>
</item>
</list>
</param>
<param name="result">When this method returns, contains the parsed result.</param>
<returns><see langword="true" /> if the parse was successful, <see langword="false" /> otherwise.</returns>
</member>
<member name="M:X10D.Time.TimeSpanParser.TryParse(System.String,System.TimeSpan@)"> <member name="M:X10D.Time.TimeSpanParser.TryParse(System.String,System.TimeSpan@)">
<summary> <summary>
Attempts to parses a shorthand time span string (e.g. 3w 2d 1h), converting it to an instance of Attempts to parses a shorthand time span string (e.g. 3w 2d 1h), converting it to an instance of
@ -9279,7 +9385,6 @@
</param> </param>
<param name="result">When this method returns, contains the parsed result.</param> <param name="result">When this method returns, contains the parsed result.</param>
<returns><see langword="true" /> if the parse was successful, <see langword="false" /> otherwise.</returns> <returns><see langword="true" /> if the parse was successful, <see langword="false" /> otherwise.</returns>
<exception cref="T:System.ArgumentNullException"><paramref name="value" /> is <see langword="null" />.</exception>
</member> </member>
<member name="T:X10D.Time.UInt16Extensions"> <member name="T:X10D.Time.UInt16Extensions">
<summary> <summary>

View File

@ -6,7 +6,7 @@
"url": "https://oliverbooth.dev" "url": "https://oliverbooth.dev"
}, },
"displayName": "X10D", "displayName": "X10D",
"version": "3.2.0-nightly.145", "version": "3.2.0-nightly.149",
"unity": "2021.2", "unity": "2021.2",
"description": "Extension methods on crack", "description": "Extension methods on crack",
"keywords": ["dotnet", "extension-methods"], "keywords": ["dotnet", "extension-methods"],