Skip to content

Document System.DateTime.ParseExact method overloads that receive Spans #3438

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 6, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions xml/System/DateTime.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5405,12 +5405,12 @@ The following example demonstrates the <xref:System.DateTime.Parse%28System.Stri
<Parameter Name="style" Type="System.Globalization.DateTimeStyles" Index="3" FrameworkAlternate="netcore-2.1;netcore-2.2;netcore-3.0;netstandard-2.1" />
</Parameters>
<Docs>
<param name="s">To be added.</param>
<param name="format">To be added.</param>
<param name="provider">To be added.</param>
<param name="style">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<param name="s">A span containing the characters that represent a date and time to convert.</param>
<param name="format">A span containing the characters that represent a format specifier that defines the required format of <paramref name="s" />.</param>
<param name="provider">An object that supplies culture-specific formatting information about <paramref name="s" />.</param>
<param name="style">A bitwise combination of the enumeration values that provides additional information about <paramref name="s" />, about style elements that may be present in <paramref name="s" />, or about the conversion from <paramref name="s" /> to a <see cref="T:System.DateTime" /> value. A typical value to specify is <see cref="F:System.Globalization.DateTimeStyles.None" />.</param>
<summary>Converts the specified span representation of a date and time to its <see cref="T:System.DateTime" /> equivalent using the specified format, culture-specific format information, and style. The format of the string representation must match the specified format exactly or an exception is thrown.</summary>
<returns>An object that is equivalent to the date and time contained in <paramref name="s" />, as specified by <paramref name="format" />, <paramref name="provider" />, and <paramref name="style" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
Expand Down Expand Up @@ -5442,12 +5442,12 @@ The following example demonstrates the <xref:System.DateTime.Parse%28System.Stri
<Parameter Name="style" Type="System.Globalization.DateTimeStyles" Index="3" FrameworkAlternate="netcore-2.1;netcore-2.2;netcore-3.0;netstandard-2.1" />
</Parameters>
<Docs>
<param name="s">To be added.</param>
<param name="formats">To be added.</param>
<param name="provider">To be added.</param>
<param name="style">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<param name="s">A span containing the characters that represent a date and time to convert.</param>
<param name="formats">An array of allowable formats of <paramref name="s" />.</param>
<param name="provider">An object that supplies culture-specific format information about <paramref name="s" />.</param>
<param name="style">A bitwise combination of enumeration values that indicates the permitted format of <paramref name="s" />. A typical value to specify is <see cref="F:System.Globalization.DateTimeStyles.None" />.</param>
<summary>Converts the specified span representation of a date and time to its <see cref="T:System.DateTime" /> equivalent using the specified array of formats, culture-specific format information, and style. The format of the string representation must match at least one of the specified formats exactly or an exception is thrown.</summary>
<returns>An object that is equivalent to the date and time contained in <paramref name="s" />, as specified by <paramref name="formats" />, <paramref name="provider" />, and <paramref name="style" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
Expand Down