Thanks to visit codestin.com
Credit goes to github.com

Skip to content

System.DateTimeOffset F# snippets #7596

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

Conversation

albert-du
Copy link
Contributor

Adds F# snippets for DateTimeOffset

@albert-du albert-du requested a review from a team as a code owner January 15, 2022 21:28
@ghost
Copy link

ghost commented Jan 15, 2022

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@opbld32
Copy link

opbld32 commented Jan 15, 2022

Docs Build status updates of commit 0b09e60:

❌ Validation status: errors

Please follow instructions here which may help to resolve issue.

File Status Preview URL Details
❌Error Details

  • [Error: PullRequestMergeConflict] Cannot sync git repo to specified state. Please make sure the pull request is mergeable.

For more details, please refer to the build report.

If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

For any questions, please:

@opbld33
Copy link

opbld33 commented Jan 15, 2022

Docs Build status updates of commit 4826a04:

✅ Validation status: passed

File Status Preview URL Details
samples/snippets/fsharp/System/DateTimeOffset.ParseExact/fs.fsproj ✅Succeeded
samples/snippets/fsharp/System/DateTimeOffset.ParseExact/parseexact-iso8601-2.fs ✅Succeeded View
samples/snippets/fsharp/System/DateTimeOffset.ParseExact/parseexact-iso8601.fs ✅Succeeded View
samples/snippets/fsharp/System/DateTimeOffset.TryParseExact/fs.fsproj ✅Succeeded
samples/snippets/fsharp/System/DateTimeOffset.TryParseExact/tryparseexacto8601-2.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Constructors/fs/Constructors.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Constructors/fs/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.FromFileTime/fs/FileTime.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.FromFileTime/fs/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/fs/Methods.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/fs/Methods2.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/fs/Methods3.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/fs/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Operators/fs/Operators.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Operators/fs/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Parse/fs/ParseExamples.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Parse/fs/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.ParseExact/fs/ParseExact.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.ParseExact/fs/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/fs/Properties.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/fs/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Syntax/fs/Syntax.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Syntax/fs/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.ToOffset/fs/ToOffset.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.ToOffset/fs/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.ToString/fs/ToString.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.ToString/fs/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.TryParse/fs/TryParse.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.TryParse/fs/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.TryParseExact/fs/TryParseExact.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.TryParseExact/fs/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Type/fs/Type.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Type/fs/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.datetimeoffset.now/fs/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.datetimeoffset.now/fs/now1.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.datetimeoffset.tostring.argumentoutofrangeexception/fs/datetimeoffset.tostring.argumentoutofrangeexception1.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.datetimeoffset.tostring.argumentoutofrangeexception/fs/datetimeoffset.tostring.argumentoutofrangeexception2.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.datetimeoffset.tostring.argumentoutofrangeexception/fs/datetimeoffset.tostring.argumentoutofrangeexception3.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.datetimeoffset.tostring.argumentoutofrangeexception/fs/datetimeoffset.tostring.argumentoutofrangeexception4.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.datetimeoffset.tostring.argumentoutofrangeexception/fs/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.datetimeoffset.tounixtimeseconds/fs/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.datetimeoffset.tounixtimeseconds/fs/tounixtimeseconds1.fs ✅Succeeded View
xml/System/DateTimeOffset.xml ✅Succeeded View

For more details, please refer to the build report.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

For any questions, please:

@albert-du
Copy link
Contributor Author

@dsyme Could you review?

@BillWagner BillWagner requested a review from dsyme January 18, 2022 15:10
@BillWagner
Copy link
Member

I gave this a general review, and it LGTM. Once @dsyme gives it a look, we'll :shipit:

@dsyme
Copy link
Contributor

dsyme commented Jan 21, 2022

Once again, really great work! Lovely to see how much string interpolation is being used

Copy link
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM as well.

@BillWagner BillWagner merged commit 8cffa20 into dotnet:main Jan 21, 2022
@albert-du albert-du deleted the system-datetimeoffset-fsharp-snippets branch April 3, 2022 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants