Windows-powershell / PowerShell-master /src /Microsoft.PowerShell.Commands.Utility /commands /utility /WebCmdlet /JsonDateKind.cs
Download PowerShell-master/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/JsonDateKind.cs from MegaBites-AI/Windows-powershell: direct link, hf CLI and curl.
- Browser
- Download file 1.03 kB
-
https://huggingface.co/datasets/MegaBites-AI/Windows-powershell/resolve/main/PowerShell-master/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/JsonDateKind.cs
- Command line
-
hf download hf://datasets/MegaBites-AI/Windows-powershell/PowerShell-master/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/JsonDateKind.cs
-
curl -L -o JsonDateKind.cs https://huggingface.co/datasets/MegaBites-AI/Windows-powershell/resolve/main/PowerShell-master/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/JsonDateKind.cs
1.03 kB
| // Copyright (c) Microsoft Corporation. | |
| // Licensed under the MIT License. | |
| namespace Microsoft.PowerShell.Commands | |
| { | |
| /// <summary> | |
| /// Enums for ConvertFrom-Json -DateKind parameter. | |
| /// </summary> | |
| public enum JsonDateKind | |
| { | |
| /// <summary> | |
| /// DateTime values are returned as a DateTime with the Kind representing the time zone in the raw string. | |
| /// </summary> | |
| Default, | |
| /// <summary> | |
| /// DateTime values are returned as the Local kind representation of the value. | |
| /// </summary> | |
| Local, | |
| /// <summary> | |
| /// DateTime values are returned as the UTC kind representation of the value. | |
| /// </summary> | |
| Utc, | |
| /// <summary> | |
| /// DateTime values are returned as a DateTimeOffset value preserving the timezone information. | |
| /// </summary> | |
| Offset, | |
| /// <summary> | |
| /// DateTime values are returned as raw strings. | |
| /// </summary> | |
| String, | |
| } | |
| } | |