A Swiss Army knife for developers.
C# blazorcross-platformcsharpdesktopdesktop-appdesktop-applicationdeveloper-toolsextensiblefluentfluent-designlinuxmacosmicasyntax-highlightingtypescriptwindowswindows-10windows-11winui
Added a Unix Timestamp Converter tool (#464)
Etienne Baudoux75c6ff6f3b37
diff --git a/src/dev/impl/DevToys/DevToys.csproj b/src/dev/impl/DevToys/DevToys.csprojindex 95a3b656d..44b3ed415 100644--- a/src/dev/impl/DevToys/DevToys.csproj+++ b/src/dev/impl/DevToys/DevToys.csproj@@ -93,6 +93,8 @@<Compile Include="ViewModels\Tools\Converters\NumberBaseConverter\Exceptions\InvalidDictionaryBaseNumberPairException.cs" /><Compile Include="ViewModels\Tools\Converters\NumberBaseConverter\Exceptions\InvalidDictionarySizeException.cs" /><Compile Include="ViewModels\Tools\Converters\NumberBaseConverter\NumberBaseFormatBuilder.cs" />+ <Compile Include="ViewModels\Tools\Converters\Timestamp\TimestampToolProvider.cs" />+ <Compile Include="ViewModels\Tools\Converters\Timestamp\TimestampToolViewModel.cs" /><Compile Include="ViewModels\Tools\EncodersDecoders\GZipEncoderDecoder\GZipEncoderDecoderToolProvider.cs" /><Compile Include="ViewModels\Tools\EncodersDecoders\GZipEncoderDecoder\GZipEncoderDecoderToolViewModel.cs" /><Compile Include="Helpers\JsonYaml\Core\DecimalJsonConverter.cs" />@@ -135,6 +137,9 @@<Compile Include="Views\Tools\Converters\NumberBaseConverter\BasicNumberBaseConverterControl.xaml.cs"><DependentUpon>BasicNumberBaseConverterControl.xaml</DependentUpon></Compile>+ <Compile Include="Views\Tools\Converters\Timestamp\TimestampToolPage.xaml.cs">+ <DependentUpon>TimestampToolPage.xaml</DependentUpon>+ </Compile><Compile Include="Views\Tools\EncodersDecoders\GZipEncoderDecoder\GZipEncoderDecoderToolPage.xaml.cs"><DependentUpon>GZipEncoderDecoderToolPage.xaml</DependentUpon></Compile>@@ -601,6 +606,10 @@<SubType>Designer</SubType><Generator>MSBuild:Compile</Generator></Page>+ <Page Include="Views\Tools\Converters\Timestamp\TimestampToolPage.xaml">+ <SubType>Designer</SubType>+ <Generator>MSBuild:Compile</Generator>+ </Page><Page Include="Views\Tools\EncodersDecoders\GZipEncoderDecoder\GZipEncoderDecoderToolPage.xaml"><Generator>MSBuild:Compile</Generator><SubType>Designer</SubType>diff --git a/src/dev/impl/DevToys/LanguageManager.cs b/src/dev/impl/DevToys/LanguageManager.csindex d3c3a616c..73b0d60d9 100644--- a/src/dev/impl/DevToys/LanguageManager.cs+++ b/src/dev/impl/DevToys/LanguageManager.cs@@ -49,6 +49,7 @@ namespace DevToysprivate readonly StringEscapeUnescapeStrings _stringescapeunescape = new StringEscapeUnescapeStrings();private readonly StringUtilitiesStrings _stringutilities = new StringUtilitiesStrings();private readonly TextDiffStrings _textdiff = new TextDiffStrings();+ private readonly TimestampStrings _timestamp = new TimestampStrings();private readonly ToolGroupsStrings _toolgroups = new ToolGroupsStrings();private readonly UrlEncoderDecoderStrings _urlencoderdecoder = new UrlEncoderDecoderStrings();private readonly XmlFormatterStrings _xmlformatter = new XmlFormatterStrings();@@ -188,6 +189,11 @@ namespace DevToys/// </summary>public TextDiffStrings TextDiff => _textdiff;+ /// <summary>+ /// Gets the <see cref="TimestampStrings"/>.+ /// </summary>+ public TimestampStrings Timestamp => _timestamp;+/// <summary>/// Gets the <see cref="ToolGroupsStrings"/>./// </summary>@@ -2610,6 +2616,86 @@ namespace DevToyspublic string SearchKeywords => _resources.GetString("SearchKeywords");}+ public class TimestampStrings : ObservableObject+ {+ private readonly ResourceLoader _resources = ResourceLoader.GetForViewIndependentUse("Timestamp");++ /// <summary>+ /// Gets the resource AccessibleName.+ /// </summary>+ public string AccessibleName => _resources.GetString("AccessibleName");++ /// <summary>+ /// Gets the resource DayTitle.+ /// </summary>+ public string DayTitle => _resources.GetString("DayTitle");++ /// <summary>+ /// Gets the resource Description.+ /// </summary>+ public string Description => _resources.GetString("Description");++ /// <summary>+ /// Gets the resource HourTitle.+ /// </summary>+ public string HourTitle => _resources.GetString("HourTitle");++ /// <summary>+ /// Gets the resource InvalidValue.+ /// </summary>+ public string InvalidValue => _resources.GetString("InvalidValue");++ /// <summary>+ /// Gets the resource LocalDateTime.+ /// </summary>+ public string LocalDateTime => _resources.GetString("LocalDateTime");++ /// <summary>+ /// Gets the resource MenuDisplayName.+ /// </summary>+ public string MenuDisplayName => _resources.GetString("MenuDisplayName");++ /// <summary>+ /// Gets the resource MinutesTitle.+ /// </summary>+ public string MinutesTitle => _resources.GetString("MinutesTitle");++ /// <summary>+ /// Gets the resource MonthTitle.+ /// </summary>+ public string MonthTitle => _resources.GetString("MonthTitle");++ /// <summary>+ /// Gets the resource SearchDisplayName.+ /// </summary>+ public string SearchDisplayName => _resources.GetString("SearchDisplayName");++ /// <summary>+ /// Gets the resource SearchKeywords.+ /// </summary>+ public string SearchKeywords => _resources.GetString("SearchKeywords");++ /// <summary>+ /// Gets the resource SecondsTitle.+ /// </summary>+ public string SecondsTitle => _resources.GetString("SecondsTitle");++ /// <summary>+ /// Gets the resource TimestampTitle.+ /// </summary>+ public string TimestampTitle => _resources.GetString("TimestampTitle");++ /// <summary>+ /// Gets the resource UTCDateTime.+ /// </summary>+ public string UTCDateTime => _resources.GetString("UTCDateTime");++ /// <summary>+ /// Gets the resource YearTitle.+ /// </summary>+ public string YearTitle => _resources.GetString("YearTitle");+ }+public class ToolGroupsStrings : ObservableObject{private readonly ResourceLoader _resources = ResourceLoader.GetForViewIndependentUse("ToolGroups");diff --git a/src/dev/impl/DevToys/Strings/cs-CZ/Timestamp.resw b/src/dev/impl/DevToys/Strings/cs-CZ/Timestamp.reswnew file mode 100644index 000000000..1df179042--- /dev/null+++ b/src/dev/impl/DevToys/Strings/cs-CZ/Timestamp.resw@@ -0,0 +1,166 @@+<?xml version="1.0" encoding="utf-8"?>+<root>+ <!--+ Microsoft ResX Schema++ Version 2.0++ The primary goals of this format is to allow a simple XML format+ that is mostly human readable. The generation and parsing of the+ various data types are done through the TypeConverter classes+ associated with the data types.++ Example:++ ... ado.net/XML headers & schema ...+ <resheader name="resmimetype">text/microsoft-resx</resheader>+ <resheader name="version">2.0</resheader>+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">+ <value>[base64 mime encoded serialized .NET Framework object]</value>+ </data>+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>+ <comment>This is a comment</comment>+ </data>++ There are any number of "resheader" rows that contain simple+ name/value pairs.++ Each data row contains a name, and value. The row also contains a+ type or mimetype. Type corresponds to a .NET class that support+ text/value conversion through the TypeConverter architecture.+ Classes that don't support this are serialized and stored with the+ mimetype set.++ The mimetype is used for serialized objects, and tells the+ ResXResourceReader how to depersist the object. This is currently not+ extensible. For a given mimetype the value must be set accordingly:++ Note - application/x-microsoft.net.object.binary.base64 is the format+ that the ResXResourceWriter will generate, however the reader can+ read any of the formats listed below.++ mimetype: application/x-microsoft.net.object.binary.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.soap.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.bytearray.base64+ value : The object must be serialized into a byte array+ : using a System.ComponentModel.TypeConverter+ : and then encoded with base64 encoding.+ -->+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />+ <xsd:element name="root" msdata:IsDataSet="true">+ <xsd:complexType>+ <xsd:choice maxOccurs="unbounded">+ <xsd:element name="metadata">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ <xsd:attribute name="type" type="xsd:string" />+ <xsd:attribute name="mimetype" type="xsd:string" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="assembly">+ <xsd:complexType>+ <xsd:attribute name="alias" type="xsd:string" />+ <xsd:attribute name="name" type="xsd:string" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="data">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="resheader">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" />+ </xsd:complexType>+ </xsd:element>+ </xsd:choice>+ </xsd:complexType>+ </xsd:element>+ </xsd:schema>+ <resheader name="resmimetype">+ <value>text/microsoft-resx</value>+ </resheader>+ <resheader name="version">+ <value>2.0</value>+ </resheader>+ <resheader name="reader">+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <resheader name="writer">+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <data name="AccessibleName" xml:space="preserve">+ <value>Timestamp converter tool</value>+ </data>+ <data name="DayTitle" xml:space="preserve">+ <value>Day</value>+ </data>+ <data name="Description" xml:space="preserve">+ <value>Convert timestamp to human-readable date and vice versa</value>+ </data>+ <data name="HourTitle" xml:space="preserve">+ <value>Hour (24 hour)</value>+ </data>+ <data name="InvalidValue" xml:space="preserve">+ <value>Invalid value</value>+ </data>+ <data name="LocalDateTime" xml:space="preserve">+ <value>Local Date and Time</value>+ </data>+ <data name="MenuDisplayName" xml:space="preserve">+ <value>Timestamp</value>+ </data>+ <data name="MinutesTitle" xml:space="preserve">+ <value>Minutes</value>+ </data>+ <data name="MonthTitle" xml:space="preserve">+ <value>Month</value>+ </data>+ <data name="SearchDisplayName" xml:space="preserve">+ <value>Unix Timestamp Converter</value>+ </data>+ <data name="SearchKeywords" xml:space="preserve">+ <value>Time Date Timezone Epoch</value>+ <comment>Alternative search keywords. Enables searching for words that are not included in Description, MenuDisplayName, and SearchDisplayName.</comment>+ </data>+ <data name="SecondsTitle" xml:space="preserve">+ <value>Seconds</value>+ </data>+ <data name="TimestampTitle" xml:space="preserve">+ <value>Timestamp</value>+ </data>+ <data name="UTCDateTime" xml:space="preserve">+ <value>UTC Date and Time</value>+ </data>+ <data name="YearTitle" xml:space="preserve">+ <value>Year</value>+ </data>+</root>\ No newline at end of filediff --git a/src/dev/impl/DevToys/Strings/de-DE/Timestamp.resw b/src/dev/impl/DevToys/Strings/de-DE/Timestamp.reswnew file mode 100644index 000000000..1df179042--- /dev/null+++ b/src/dev/impl/DevToys/Strings/de-DE/Timestamp.resw@@ -0,0 +1,166 @@+<?xml version="1.0" encoding="utf-8"?>+<root>+ <!--+ Microsoft ResX Schema++ Version 2.0++ The primary goals of this format is to allow a simple XML format+ that is mostly human readable. The generation and parsing of the+ various data types are done through the TypeConverter classes+ associated with the data types.++ Example:++ ... ado.net/XML headers & schema ...+ <resheader name="resmimetype">text/microsoft-resx</resheader>+ <resheader name="version">2.0</resheader>+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">+ <value>[base64 mime encoded serialized .NET Framework object]</value>+ </data>+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>+ <comment>This is a comment</comment>+ </data>++ There are any number of "resheader" rows that contain simple+ name/value pairs.++ Each data row contains a name, and value. The row also contains a+ type or mimetype. Type corresponds to a .NET class that support+ text/value conversion through the TypeConverter architecture.+ Classes that don't support this are serialized and stored with the+ mimetype set.++ The mimetype is used for serialized objects, and tells the+ ResXResourceReader how to depersist the object. This is currently not+ extensible. For a given mimetype the value must be set accordingly:++ Note - application/x-microsoft.net.object.binary.base64 is the format+ that the ResXResourceWriter will generate, however the reader can+ read any of the formats listed below.++ mimetype: application/x-microsoft.net.object.binary.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.soap.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.bytearray.base64+ value : The object must be serialized into a byte array+ : using a System.ComponentModel.TypeConverter+ : and then encoded with base64 encoding.+ -->+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />+ <xsd:element name="root" msdata:IsDataSet="true">+ <xsd:complexType>+ <xsd:choice maxOccurs="unbounded">+ <xsd:element name="metadata">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ <xsd:attribute name="type" type="xsd:string" />+ <xsd:attribute name="mimetype" type="xsd:string" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="assembly">+ <xsd:complexType>+ <xsd:attribute name="alias" type="xsd:string" />+ <xsd:attribute name="name" type="xsd:string" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="data">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="resheader">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" />+ </xsd:complexType>+ </xsd:element>+ </xsd:choice>+ </xsd:complexType>+ </xsd:element>+ </xsd:schema>+ <resheader name="resmimetype">+ <value>text/microsoft-resx</value>+ </resheader>+ <resheader name="version">+ <value>2.0</value>+ </resheader>+ <resheader name="reader">+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <resheader name="writer">+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <data name="AccessibleName" xml:space="preserve">+ <value>Timestamp converter tool</value>+ </data>+ <data name="DayTitle" xml:space="preserve">+ <value>Day</value>+ </data>+ <data name="Description" xml:space="preserve">+ <value>Convert timestamp to human-readable date and vice versa</value>+ </data>+ <data name="HourTitle" xml:space="preserve">+ <value>Hour (24 hour)</value>+ </data>+ <data name="InvalidValue" xml:space="preserve">+ <value>Invalid value</value>+ </data>+ <data name="LocalDateTime" xml:space="preserve">+ <value>Local Date and Time</value>+ </data>+ <data name="MenuDisplayName" xml:space="preserve">+ <value>Timestamp</value>+ </data>+ <data name="MinutesTitle" xml:space="preserve">+ <value>Minutes</value>+ </data>+ <data name="MonthTitle" xml:space="preserve">+ <value>Month</value>+ </data>+ <data name="SearchDisplayName" xml:space="preserve">+ <value>Unix Timestamp Converter</value>+ </data>+ <data name="SearchKeywords" xml:space="preserve">+ <value>Time Date Timezone Epoch</value>+ <comment>Alternative search keywords. Enables searching for words that are not included in Description, MenuDisplayName, and SearchDisplayName.</comment>+ </data>+ <data name="SecondsTitle" xml:space="preserve">+ <value>Seconds</value>+ </data>+ <data name="TimestampTitle" xml:space="preserve">+ <value>Timestamp</value>+ </data>+ <data name="UTCDateTime" xml:space="preserve">+ <value>UTC Date and Time</value>+ </data>+ <data name="YearTitle" xml:space="preserve">+ <value>Year</value>+ </data>+</root>\ No newline at end of filediff --git a/src/dev/impl/DevToys/Strings/en-US/Timestamp.resw b/src/dev/impl/DevToys/Strings/en-US/Timestamp.reswnew file mode 100644index 000000000..1df179042--- /dev/null+++ b/src/dev/impl/DevToys/Strings/en-US/Timestamp.resw@@ -0,0 +1,166 @@+<?xml version="1.0" encoding="utf-8"?>+<root>+ <!--+ Microsoft ResX Schema++ Version 2.0++ The primary goals of this format is to allow a simple XML format+ that is mostly human readable. The generation and parsing of the+ various data types are done through the TypeConverter classes+ associated with the data types.++ Example:++ ... ado.net/XML headers & schema ...+ <resheader name="resmimetype">text/microsoft-resx</resheader>+ <resheader name="version">2.0</resheader>+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">+ <value>[base64 mime encoded serialized .NET Framework object]</value>+ </data>+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>+ <comment>This is a comment</comment>+ </data>++ There are any number of "resheader" rows that contain simple+ name/value pairs.++ Each data row contains a name, and value. The row also contains a+ type or mimetype. Type corresponds to a .NET class that support+ text/value conversion through the TypeConverter architecture.+ Classes that don't support this are serialized and stored with the+ mimetype set.++ The mimetype is used for serialized objects, and tells the+ ResXResourceReader how to depersist the object. This is currently not+ extensible. For a given mimetype the value must be set accordingly:++ Note - application/x-microsoft.net.object.binary.base64 is the format+ that the ResXResourceWriter will generate, however the reader can+ read any of the formats listed below.++ mimetype: application/x-microsoft.net.object.binary.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.soap.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.bytearray.base64+ value : The object must be serialized into a byte array+ : using a System.ComponentModel.TypeConverter+ : and then encoded with base64 encoding.+ -->+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />+ <xsd:element name="root" msdata:IsDataSet="true">+ <xsd:complexType>+ <xsd:choice maxOccurs="unbounded">+ <xsd:element name="metadata">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ <xsd:attribute name="type" type="xsd:string" />+ <xsd:attribute name="mimetype" type="xsd:string" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="assembly">+ <xsd:complexType>+ <xsd:attribute name="alias" type="xsd:string" />+ <xsd:attribute name="name" type="xsd:string" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="data">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="resheader">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" />+ </xsd:complexType>+ </xsd:element>+ </xsd:choice>+ </xsd:complexType>+ </xsd:element>+ </xsd:schema>+ <resheader name="resmimetype">+ <value>text/microsoft-resx</value>+ </resheader>+ <resheader name="version">+ <value>2.0</value>+ </resheader>+ <resheader name="reader">+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <resheader name="writer">+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <data name="AccessibleName" xml:space="preserve">+ <value>Timestamp converter tool</value>+ </data>+ <data name="DayTitle" xml:space="preserve">+ <value>Day</value>+ </data>+ <data name="Description" xml:space="preserve">+ <value>Convert timestamp to human-readable date and vice versa</value>+ </data>+ <data name="HourTitle" xml:space="preserve">+ <value>Hour (24 hour)</value>+ </data>+ <data name="InvalidValue" xml:space="preserve">+ <value>Invalid value</value>+ </data>+ <data name="LocalDateTime" xml:space="preserve">+ <value>Local Date and Time</value>+ </data>+ <data name="MenuDisplayName" xml:space="preserve">+ <value>Timestamp</value>+ </data>+ <data name="MinutesTitle" xml:space="preserve">+ <value>Minutes</value>+ </data>+ <data name="MonthTitle" xml:space="preserve">+ <value>Month</value>+ </data>+ <data name="SearchDisplayName" xml:space="preserve">+ <value>Unix Timestamp Converter</value>+ </data>+ <data name="SearchKeywords" xml:space="preserve">+ <value>Time Date Timezone Epoch</value>+ <comment>Alternative search keywords. Enables searching for words that are not included in Description, MenuDisplayName, and SearchDisplayName.</comment>+ </data>+ <data name="SecondsTitle" xml:space="preserve">+ <value>Seconds</value>+ </data>+ <data name="TimestampTitle" xml:space="preserve">+ <value>Timestamp</value>+ </data>+ <data name="UTCDateTime" xml:space="preserve">+ <value>UTC Date and Time</value>+ </data>+ <data name="YearTitle" xml:space="preserve">+ <value>Year</value>+ </data>+</root>\ No newline at end of filediff --git a/src/dev/impl/DevToys/Strings/es-AR/Timestamp.resw b/src/dev/impl/DevToys/Strings/es-AR/Timestamp.reswnew file mode 100644index 000000000..1df179042--- /dev/null+++ b/src/dev/impl/DevToys/Strings/es-AR/Timestamp.resw@@ -0,0 +1,166 @@+<?xml version="1.0" encoding="utf-8"?>+<root>+ <!--+ Microsoft ResX Schema++ Version 2.0++ The primary goals of this format is to allow a simple XML format+ that is mostly human readable. The generation and parsing of the+ various data types are done through the TypeConverter classes+ associated with the data types.++ Example:++ ... ado.net/XML headers & schema ...+ <resheader name="resmimetype">text/microsoft-resx</resheader>+ <resheader name="version">2.0</resheader>+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">+ <value>[base64 mime encoded serialized .NET Framework object]</value>+ </data>+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>+ <comment>This is a comment</comment>+ </data>++ There are any number of "resheader" rows that contain simple+ name/value pairs.++ Each data row contains a name, and value. The row also contains a+ type or mimetype. Type corresponds to a .NET class that support+ text/value conversion through the TypeConverter architecture.+ Classes that don't support this are serialized and stored with the+ mimetype set.++ The mimetype is used for serialized objects, and tells the+ ResXResourceReader how to depersist the object. This is currently not+ extensible. For a given mimetype the value must be set accordingly:++ Note - application/x-microsoft.net.object.binary.base64 is the format+ that the ResXResourceWriter will generate, however the reader can+ read any of the formats listed below.++ mimetype: application/x-microsoft.net.object.binary.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.soap.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.bytearray.base64+ value : The object must be serialized into a byte array+ : using a System.ComponentModel.TypeConverter+ : and then encoded with base64 encoding.+ -->+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />+ <xsd:element name="root" msdata:IsDataSet="true">+ <xsd:complexType>+ <xsd:choice maxOccurs="unbounded">+ <xsd:element name="metadata">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ <xsd:attribute name="type" type="xsd:string" />+ <xsd:attribute name="mimetype" type="xsd:string" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="assembly">+ <xsd:complexType>+ <xsd:attribute name="alias" type="xsd:string" />+ <xsd:attribute name="name" type="xsd:string" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="data">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="resheader">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" />+ </xsd:complexType>+ </xsd:element>+ </xsd:choice>+ </xsd:complexType>+ </xsd:element>+ </xsd:schema>+ <resheader name="resmimetype">+ <value>text/microsoft-resx</value>+ </resheader>+ <resheader name="version">+ <value>2.0</value>+ </resheader>+ <resheader name="reader">+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <resheader name="writer">+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <data name="AccessibleName" xml:space="preserve">+ <value>Timestamp converter tool</value>+ </data>+ <data name="DayTitle" xml:space="preserve">+ <value>Day</value>+ </data>+ <data name="Description" xml:space="preserve">+ <value>Convert timestamp to human-readable date and vice versa</value>+ </data>+ <data name="HourTitle" xml:space="preserve">+ <value>Hour (24 hour)</value>+ </data>+ <data name="InvalidValue" xml:space="preserve">+ <value>Invalid value</value>+ </data>+ <data name="LocalDateTime" xml:space="preserve">+ <value>Local Date and Time</value>+ </data>+ <data name="MenuDisplayName" xml:space="preserve">+ <value>Timestamp</value>+ </data>+ <data name="MinutesTitle" xml:space="preserve">+ <value>Minutes</value>+ </data>+ <data name="MonthTitle" xml:space="preserve">+ <value>Month</value>+ </data>+ <data name="SearchDisplayName" xml:space="preserve">+ <value>Unix Timestamp Converter</value>+ </data>+ <data name="SearchKeywords" xml:space="preserve">+ <value>Time Date Timezone Epoch</value>+ <comment>Alternative search keywords. Enables searching for words that are not included in Description, MenuDisplayName, and SearchDisplayName.</comment>+ </data>+ <data name="SecondsTitle" xml:space="preserve">+ <value>Seconds</value>+ </data>+ <data name="TimestampTitle" xml:space="preserve">+ <value>Timestamp</value>+ </data>+ <data name="UTCDateTime" xml:space="preserve">+ <value>UTC Date and Time</value>+ </data>+ <data name="YearTitle" xml:space="preserve">+ <value>Year</value>+ </data>+</root>\ No newline at end of filediff --git a/src/dev/impl/DevToys/Strings/es-ES/Timestamp.resw b/src/dev/impl/DevToys/Strings/es-ES/Timestamp.reswnew file mode 100644index 000000000..1df179042--- /dev/null+++ b/src/dev/impl/DevToys/Strings/es-ES/Timestamp.resw@@ -0,0 +1,166 @@+<?xml version="1.0" encoding="utf-8"?>+<root>+ <!--+ Microsoft ResX Schema++ Version 2.0++ The primary goals of this format is to allow a simple XML format+ that is mostly human readable. The generation and parsing of the+ various data types are done through the TypeConverter classes+ associated with the data types.++ Example:++ ... ado.net/XML headers & schema ...+ <resheader name="resmimetype">text/microsoft-resx</resheader>+ <resheader name="version">2.0</resheader>+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">+ <value>[base64 mime encoded serialized .NET Framework object]</value>+ </data>+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>+ <comment>This is a comment</comment>+ </data>++ There are any number of "resheader" rows that contain simple+ name/value pairs.++ Each data row contains a name, and value. The row also contains a+ type or mimetype. Type corresponds to a .NET class that support+ text/value conversion through the TypeConverter architecture.+ Classes that don't support this are serialized and stored with the+ mimetype set.++ The mimetype is used for serialized objects, and tells the+ ResXResourceReader how to depersist the object. This is currently not+ extensible. For a given mimetype the value must be set accordingly:++ Note - application/x-microsoft.net.object.binary.base64 is the format+ that the ResXResourceWriter will generate, however the reader can+ read any of the formats listed below.++ mimetype: application/x-microsoft.net.object.binary.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.soap.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.bytearray.base64+ value : The object must be serialized into a byte array+ : using a System.ComponentModel.TypeConverter+ : and then encoded with base64 encoding.+ -->+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />+ <xsd:element name="root" msdata:IsDataSet="true">+ <xsd:complexType>+ <xsd:choice maxOccurs="unbounded">+ <xsd:element name="metadata">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ <xsd:attribute name="type" type="xsd:string" />+ <xsd:attribute name="mimetype" type="xsd:string" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="assembly">+ <xsd:complexType>+ <xsd:attribute name="alias" type="xsd:string" />+ <xsd:attribute name="name" type="xsd:string" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="data">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="resheader">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" />+ </xsd:complexType>+ </xsd:element>+ </xsd:choice>+ </xsd:complexType>+ </xsd:element>+ </xsd:schema>+ <resheader name="resmimetype">+ <value>text/microsoft-resx</value>+ </resheader>+ <resheader name="version">+ <value>2.0</value>+ </resheader>+ <resheader name="reader">+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <resheader name="writer">+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <data name="AccessibleName" xml:space="preserve">+ <value>Timestamp converter tool</value>+ </data>+ <data name="DayTitle" xml:space="preserve">+ <value>Day</value>+ </data>+ <data name="Description" xml:space="preserve">+ <value>Convert timestamp to human-readable date and vice versa</value>+ </data>+ <data name="HourTitle" xml:space="preserve">+ <value>Hour (24 hour)</value>+ </data>+ <data name="InvalidValue" xml:space="preserve">+ <value>Invalid value</value>+ </data>+ <data name="LocalDateTime" xml:space="preserve">+ <value>Local Date and Time</value>+ </data>+ <data name="MenuDisplayName" xml:space="preserve">+ <value>Timestamp</value>+ </data>+ <data name="MinutesTitle" xml:space="preserve">+ <value>Minutes</value>+ </data>+ <data name="MonthTitle" xml:space="preserve">+ <value>Month</value>+ </data>+ <data name="SearchDisplayName" xml:space="preserve">+ <value>Unix Timestamp Converter</value>+ </data>+ <data name="SearchKeywords" xml:space="preserve">+ <value>Time Date Timezone Epoch</value>+ <comment>Alternative search keywords. Enables searching for words that are not included in Description, MenuDisplayName, and SearchDisplayName.</comment>+ </data>+ <data name="SecondsTitle" xml:space="preserve">+ <value>Seconds</value>+ </data>+ <data name="TimestampTitle" xml:space="preserve">+ <value>Timestamp</value>+ </data>+ <data name="UTCDateTime" xml:space="preserve">+ <value>UTC Date and Time</value>+ </data>+ <data name="YearTitle" xml:space="preserve">+ <value>Year</value>+ </data>+</root>\ No newline at end of filediff --git a/src/dev/impl/DevToys/Strings/fr-FR/Timestamp.resw b/src/dev/impl/DevToys/Strings/fr-FR/Timestamp.reswnew file mode 100644index 000000000..1df179042--- /dev/null+++ b/src/dev/impl/DevToys/Strings/fr-FR/Timestamp.resw@@ -0,0 +1,166 @@+<?xml version="1.0" encoding="utf-8"?>+<root>+ <!--+ Microsoft ResX Schema++ Version 2.0++ The primary goals of this format is to allow a simple XML format+ that is mostly human readable. The generation and parsing of the+ various data types are done through the TypeConverter classes+ associated with the data types.++ Example:++ ... ado.net/XML headers & schema ...+ <resheader name="resmimetype">text/microsoft-resx</resheader>+ <resheader name="version">2.0</resheader>+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">+ <value>[base64 mime encoded serialized .NET Framework object]</value>+ </data>+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>+ <comment>This is a comment</comment>+ </data>++ There are any number of "resheader" rows that contain simple+ name/value pairs.++ Each data row contains a name, and value. The row also contains a+ type or mimetype. Type corresponds to a .NET class that support+ text/value conversion through the TypeConverter architecture.+ Classes that don't support this are serialized and stored with the+ mimetype set.++ The mimetype is used for serialized objects, and tells the+ ResXResourceReader how to depersist the object. This is currently not+ extensible. For a given mimetype the value must be set accordingly:++ Note - application/x-microsoft.net.object.binary.base64 is the format+ that the ResXResourceWriter will generate, however the reader can+ read any of the formats listed below.++ mimetype: application/x-microsoft.net.object.binary.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.soap.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.bytearray.base64+ value : The object must be serialized into a byte array+ : using a System.ComponentModel.TypeConverter+ : and then encoded with base64 encoding.+ -->+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />+ <xsd:element name="root" msdata:IsDataSet="true">+ <xsd:complexType>+ <xsd:choice maxOccurs="unbounded">+ <xsd:element name="metadata">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ <xsd:attribute name="type" type="xsd:string" />+ <xsd:attribute name="mimetype" type="xsd:string" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="assembly">+ <xsd:complexType>+ <xsd:attribute name="alias" type="xsd:string" />+ <xsd:attribute name="name" type="xsd:string" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="data">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="resheader">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" />+ </xsd:complexType>+ </xsd:element>+ </xsd:choice>+ </xsd:complexType>+ </xsd:element>+ </xsd:schema>+ <resheader name="resmimetype">+ <value>text/microsoft-resx</value>+ </resheader>+ <resheader name="version">+ <value>2.0</value>+ </resheader>+ <resheader name="reader">+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <resheader name="writer">+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <data name="AccessibleName" xml:space="preserve">+ <value>Timestamp converter tool</value>+ </data>+ <data name="DayTitle" xml:space="preserve">+ <value>Day</value>+ </data>+ <data name="Description" xml:space="preserve">+ <value>Convert timestamp to human-readable date and vice versa</value>+ </data>+ <data name="HourTitle" xml:space="preserve">+ <value>Hour (24 hour)</value>+ </data>+ <data name="InvalidValue" xml:space="preserve">+ <value>Invalid value</value>+ </data>+ <data name="LocalDateTime" xml:space="preserve">+ <value>Local Date and Time</value>+ </data>+ <data name="MenuDisplayName" xml:space="preserve">+ <value>Timestamp</value>+ </data>+ <data name="MinutesTitle" xml:space="preserve">+ <value>Minutes</value>+ </data>+ <data name="MonthTitle" xml:space="preserve">+ <value>Month</value>+ </data>+ <data name="SearchDisplayName" xml:space="preserve">+ <value>Unix Timestamp Converter</value>+ </data>+ <data name="SearchKeywords" xml:space="preserve">+ <value>Time Date Timezone Epoch</value>+ <comment>Alternative search keywords. Enables searching for words that are not included in Description, MenuDisplayName, and SearchDisplayName.</comment>+ </data>+ <data name="SecondsTitle" xml:space="preserve">+ <value>Seconds</value>+ </data>+ <data name="TimestampTitle" xml:space="preserve">+ <value>Timestamp</value>+ </data>+ <data name="UTCDateTime" xml:space="preserve">+ <value>UTC Date and Time</value>+ </data>+ <data name="YearTitle" xml:space="preserve">+ <value>Year</value>+ </data>+</root>\ No newline at end of filediff --git a/src/dev/impl/DevToys/Strings/hu-HU/Timestamp.resw b/src/dev/impl/DevToys/Strings/hu-HU/Timestamp.reswnew file mode 100644index 000000000..1df179042--- /dev/null+++ b/src/dev/impl/DevToys/Strings/hu-HU/Timestamp.resw@@ -0,0 +1,166 @@+<?xml version="1.0" encoding="utf-8"?>+<root>+ <!--+ Microsoft ResX Schema++ Version 2.0++ The primary goals of this format is to allow a simple XML format+ that is mostly human readable. The generation and parsing of the+ various data types are done through the TypeConverter classes+ associated with the data types.++ Example:++ ... ado.net/XML headers & schema ...+ <resheader name="resmimetype">text/microsoft-resx</resheader>+ <resheader name="version">2.0</resheader>+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">+ <value>[base64 mime encoded serialized .NET Framework object]</value>+ </data>+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>+ <comment>This is a comment</comment>+ </data>++ There are any number of "resheader" rows that contain simple+ name/value pairs.++ Each data row contains a name, and value. The row also contains a+ type or mimetype. Type corresponds to a .NET class that support+ text/value conversion through the TypeConverter architecture.+ Classes that don't support this are serialized and stored with the+ mimetype set.++ The mimetype is used for serialized objects, and tells the+ ResXResourceReader how to depersist the object. This is currently not+ extensible. For a given mimetype the value must be set accordingly:++ Note - application/x-microsoft.net.object.binary.base64 is the format+ that the ResXResourceWriter will generate, however the reader can+ read any of the formats listed below.++ mimetype: application/x-microsoft.net.object.binary.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.soap.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.bytearray.base64+ value : The object must be serialized into a byte array+ : using a System.ComponentModel.TypeConverter+ : and then encoded with base64 encoding.+ -->+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />+ <xsd:element name="root" msdata:IsDataSet="true">+ <xsd:complexType>+ <xsd:choice maxOccurs="unbounded">+ <xsd:element name="metadata">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ <xsd:attribute name="type" type="xsd:string" />+ <xsd:attribute name="mimetype" type="xsd:string" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="assembly">+ <xsd:complexType>+ <xsd:attribute name="alias" type="xsd:string" />+ <xsd:attribute name="name" type="xsd:string" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="data">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="resheader">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" />+ </xsd:complexType>+ </xsd:element>+ </xsd:choice>+ </xsd:complexType>+ </xsd:element>+ </xsd:schema>+ <resheader name="resmimetype">+ <value>text/microsoft-resx</value>+ </resheader>+ <resheader name="version">+ <value>2.0</value>+ </resheader>+ <resheader name="reader">+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <resheader name="writer">+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <data name="AccessibleName" xml:space="preserve">+ <value>Timestamp converter tool</value>+ </data>+ <data name="DayTitle" xml:space="preserve">+ <value>Day</value>+ </data>+ <data name="Description" xml:space="preserve">+ <value>Convert timestamp to human-readable date and vice versa</value>+ </data>+ <data name="HourTitle" xml:space="preserve">+ <value>Hour (24 hour)</value>+ </data>+ <data name="InvalidValue" xml:space="preserve">+ <value>Invalid value</value>+ </data>+ <data name="LocalDateTime" xml:space="preserve">+ <value>Local Date and Time</value>+ </data>+ <data name="MenuDisplayName" xml:space="preserve">+ <value>Timestamp</value>+ </data>+ <data name="MinutesTitle" xml:space="preserve">+ <value>Minutes</value>+ </data>+ <data name="MonthTitle" xml:space="preserve">+ <value>Month</value>+ </data>+ <data name="SearchDisplayName" xml:space="preserve">+ <value>Unix Timestamp Converter</value>+ </data>+ <data name="SearchKeywords" xml:space="preserve">+ <value>Time Date Timezone Epoch</value>+ <comment>Alternative search keywords. Enables searching for words that are not included in Description, MenuDisplayName, and SearchDisplayName.</comment>+ </data>+ <data name="SecondsTitle" xml:space="preserve">+ <value>Seconds</value>+ </data>+ <data name="TimestampTitle" xml:space="preserve">+ <value>Timestamp</value>+ </data>+ <data name="UTCDateTime" xml:space="preserve">+ <value>UTC Date and Time</value>+ </data>+ <data name="YearTitle" xml:space="preserve">+ <value>Year</value>+ </data>+</root>\ No newline at end of filediff --git a/src/dev/impl/DevToys/Strings/id-ID/Timestamp.resw b/src/dev/impl/DevToys/Strings/id-ID/Timestamp.reswnew file mode 100644index 000000000..1df179042--- /dev/null+++ b/src/dev/impl/DevToys/Strings/id-ID/Timestamp.resw@@ -0,0 +1,166 @@+<?xml version="1.0" encoding="utf-8"?>+<root>+ <!--+ Microsoft ResX Schema++ Version 2.0++ The primary goals of this format is to allow a simple XML format+ that is mostly human readable. The generation and parsing of the+ various data types are done through the TypeConverter classes+ associated with the data types.++ Example:++ ... ado.net/XML headers & schema ...+ <resheader name="resmimetype">text/microsoft-resx</resheader>+ <resheader name="version">2.0</resheader>+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">+ <value>[base64 mime encoded serialized .NET Framework object]</value>+ </data>+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>+ <comment>This is a comment</comment>+ </data>++ There are any number of "resheader" rows that contain simple+ name/value pairs.++ Each data row contains a name, and value. The row also contains a+ type or mimetype. Type corresponds to a .NET class that support+ text/value conversion through the TypeConverter architecture.+ Classes that don't support this are serialized and stored with the+ mimetype set.++ The mimetype is used for serialized objects, and tells the+ ResXResourceReader how to depersist the object. This is currently not+ extensible. For a given mimetype the value must be set accordingly:++ Note - application/x-microsoft.net.object.binary.base64 is the format+ that the ResXResourceWriter will generate, however the reader can+ read any of the formats listed below.++ mimetype: application/x-microsoft.net.object.binary.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.soap.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.bytearray.base64+ value : The object must be serialized into a byte array+ : using a System.ComponentModel.TypeConverter+ : and then encoded with base64 encoding.+ -->+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />+ <xsd:element name="root" msdata:IsDataSet="true">+ <xsd:complexType>+ <xsd:choice maxOccurs="unbounded">+ <xsd:element name="metadata">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ <xsd:attribute name="type" type="xsd:string" />+ <xsd:attribute name="mimetype" type="xsd:string" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="assembly">+ <xsd:complexType>+ <xsd:attribute name="alias" type="xsd:string" />+ <xsd:attribute name="name" type="xsd:string" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="data">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="resheader">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" />+ </xsd:complexType>+ </xsd:element>+ </xsd:choice>+ </xsd:complexType>+ </xsd:element>+ </xsd:schema>+ <resheader name="resmimetype">+ <value>text/microsoft-resx</value>+ </resheader>+ <resheader name="version">+ <value>2.0</value>+ </resheader>+ <resheader name="reader">+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <resheader name="writer">+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <data name="AccessibleName" xml:space="preserve">+ <value>Timestamp converter tool</value>+ </data>+ <data name="DayTitle" xml:space="preserve">+ <value>Day</value>+ </data>+ <data name="Description" xml:space="preserve">+ <value>Convert timestamp to human-readable date and vice versa</value>+ </data>+ <data name="HourTitle" xml:space="preserve">+ <value>Hour (24 hour)</value>+ </data>+ <data name="InvalidValue" xml:space="preserve">+ <value>Invalid value</value>+ </data>+ <data name="LocalDateTime" xml:space="preserve">+ <value>Local Date and Time</value>+ </data>+ <data name="MenuDisplayName" xml:space="preserve">+ <value>Timestamp</value>+ </data>+ <data name="MinutesTitle" xml:space="preserve">+ <value>Minutes</value>+ </data>+ <data name="MonthTitle" xml:space="preserve">+ <value>Month</value>+ </data>+ <data name="SearchDisplayName" xml:space="preserve">+ <value>Unix Timestamp Converter</value>+ </data>+ <data name="SearchKeywords" xml:space="preserve">+ <value>Time Date Timezone Epoch</value>+ <comment>Alternative search keywords. Enables searching for words that are not included in Description, MenuDisplayName, and SearchDisplayName.</comment>+ </data>+ <data name="SecondsTitle" xml:space="preserve">+ <value>Seconds</value>+ </data>+ <data name="TimestampTitle" xml:space="preserve">+ <value>Timestamp</value>+ </data>+ <data name="UTCDateTime" xml:space="preserve">+ <value>UTC Date and Time</value>+ </data>+ <data name="YearTitle" xml:space="preserve">+ <value>Year</value>+ </data>+</root>\ No newline at end of filediff --git a/src/dev/impl/DevToys/Strings/it-IT/Timestamp.resw b/src/dev/impl/DevToys/Strings/it-IT/Timestamp.reswnew file mode 100644index 000000000..1df179042--- /dev/null+++ b/src/dev/impl/DevToys/Strings/it-IT/Timestamp.resw@@ -0,0 +1,166 @@+<?xml version="1.0" encoding="utf-8"?>+<root>+ <!--+ Microsoft ResX Schema++ Version 2.0++ The primary goals of this format is to allow a simple XML format+ that is mostly human readable. The generation and parsing of the+ various data types are done through the TypeConverter classes+ associated with the data types.++ Example:++ ... ado.net/XML headers & schema ...+ <resheader name="resmimetype">text/microsoft-resx</resheader>+ <resheader name="version">2.0</resheader>+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">+ <value>[base64 mime encoded serialized .NET Framework object]</value>+ </data>+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>+ <comment>This is a comment</comment>+ </data>++ There are any number of "resheader" rows that contain simple+ name/value pairs.++ Each data row contains a name, and value. The row also contains a+ type or mimetype. Type corresponds to a .NET class that support+ text/value conversion through the TypeConverter architecture.+ Classes that don't support this are serialized and stored with the+ mimetype set.++ The mimetype is used for serialized objects, and tells the+ ResXResourceReader how to depersist the object. This is currently not+ extensible. For a given mimetype the value must be set accordingly:++ Note - application/x-microsoft.net.object.binary.base64 is the format+ that the ResXResourceWriter will generate, however the reader can+ read any of the formats listed below.++ mimetype: application/x-microsoft.net.object.binary.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.soap.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.bytearray.base64+ value : The object must be serialized into a byte array+ : using a System.ComponentModel.TypeConverter+ : and then encoded with base64 encoding.+ -->+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />+ <xsd:element name="root" msdata:IsDataSet="true">+ <xsd:complexType>+ <xsd:choice maxOccurs="unbounded">+ <xsd:element name="metadata">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ <xsd:attribute name="type" type="xsd:string" />+ <xsd:attribute name="mimetype" type="xsd:string" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="assembly">+ <xsd:complexType>+ <xsd:attribute name="alias" type="xsd:string" />+ <xsd:attribute name="name" type="xsd:string" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="data">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="resheader">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" />+ </xsd:complexType>+ </xsd:element>+ </xsd:choice>+ </xsd:complexType>+ </xsd:element>+ </xsd:schema>+ <resheader name="resmimetype">+ <value>text/microsoft-resx</value>+ </resheader>+ <resheader name="version">+ <value>2.0</value>+ </resheader>+ <resheader name="reader">+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <resheader name="writer">+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <data name="AccessibleName" xml:space="preserve">+ <value>Timestamp converter tool</value>+ </data>+ <data name="DayTitle" xml:space="preserve">+ <value>Day</value>+ </data>+ <data name="Description" xml:space="preserve">+ <value>Convert timestamp to human-readable date and vice versa</value>+ </data>+ <data name="HourTitle" xml:space="preserve">+ <value>Hour (24 hour)</value>+ </data>+ <data name="InvalidValue" xml:space="preserve">+ <value>Invalid value</value>+ </data>+ <data name="LocalDateTime" xml:space="preserve">+ <value>Local Date and Time</value>+ </data>+ <data name="MenuDisplayName" xml:space="preserve">+ <value>Timestamp</value>+ </data>+ <data name="MinutesTitle" xml:space="preserve">+ <value>Minutes</value>+ </data>+ <data name="MonthTitle" xml:space="preserve">+ <value>Month</value>+ </data>+ <data name="SearchDisplayName" xml:space="preserve">+ <value>Unix Timestamp Converter</value>+ </data>+ <data name="SearchKeywords" xml:space="preserve">+ <value>Time Date Timezone Epoch</value>+ <comment>Alternative search keywords. Enables searching for words that are not included in Description, MenuDisplayName, and SearchDisplayName.</comment>+ </data>+ <data name="SecondsTitle" xml:space="preserve">+ <value>Seconds</value>+ </data>+ <data name="TimestampTitle" xml:space="preserve">+ <value>Timestamp</value>+ </data>+ <data name="UTCDateTime" xml:space="preserve">+ <value>UTC Date and Time</value>+ </data>+ <data name="YearTitle" xml:space="preserve">+ <value>Year</value>+ </data>+</root>\ No newline at end of filediff --git a/src/dev/impl/DevToys/Strings/ja-JP/Timestamp.resw b/src/dev/impl/DevToys/Strings/ja-JP/Timestamp.reswnew file mode 100644index 000000000..1df179042--- /dev/null+++ b/src/dev/impl/DevToys/Strings/ja-JP/Timestamp.resw@@ -0,0 +1,166 @@+<?xml version="1.0" encoding="utf-8"?>+<root>+ <!--+ Microsoft ResX Schema++ Version 2.0++ The primary goals of this format is to allow a simple XML format+ that is mostly human readable. The generation and parsing of the+ various data types are done through the TypeConverter classes+ associated with the data types.++ Example:++ ... ado.net/XML headers & schema ...+ <resheader name="resmimetype">text/microsoft-resx</resheader>+ <resheader name="version">2.0</resheader>+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">+ <value>[base64 mime encoded serialized .NET Framework object]</value>+ </data>+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>+ <comment>This is a comment</comment>+ </data>++ There are any number of "resheader" rows that contain simple+ name/value pairs.++ Each data row contains a name, and value. The row also contains a+ type or mimetype. Type corresponds to a .NET class that support+ text/value conversion through the TypeConverter architecture.+ Classes that don't support this are serialized and stored with the+ mimetype set.++ The mimetype is used for serialized objects, and tells the+ ResXResourceReader how to depersist the object. This is currently not+ extensible. For a given mimetype the value must be set accordingly:++ Note - application/x-microsoft.net.object.binary.base64 is the format+ that the ResXResourceWriter will generate, however the reader can+ read any of the formats listed below.++ mimetype: application/x-microsoft.net.object.binary.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.soap.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.bytearray.base64+ value : The object must be serialized into a byte array+ : using a System.ComponentModel.TypeConverter+ : and then encoded with base64 encoding.+ -->+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />+ <xsd:element name="root" msdata:IsDataSet="true">+ <xsd:complexType>+ <xsd:choice maxOccurs="unbounded">+ <xsd:element name="metadata">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ <xsd:attribute name="type" type="xsd:string" />+ <xsd:attribute name="mimetype" type="xsd:string" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="assembly">+ <xsd:complexType>+ <xsd:attribute name="alias" type="xsd:string" />+ <xsd:attribute name="name" type="xsd:string" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="data">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="resheader">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" />+ </xsd:complexType>+ </xsd:element>+ </xsd:choice>+ </xsd:complexType>+ </xsd:element>+ </xsd:schema>+ <resheader name="resmimetype">+ <value>text/microsoft-resx</value>+ </resheader>+ <resheader name="version">+ <value>2.0</value>+ </resheader>+ <resheader name="reader">+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <resheader name="writer">+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <data name="AccessibleName" xml:space="preserve">+ <value>Timestamp converter tool</value>+ </data>+ <data name="DayTitle" xml:space="preserve">+ <value>Day</value>+ </data>+ <data name="Description" xml:space="preserve">+ <value>Convert timestamp to human-readable date and vice versa</value>+ </data>+ <data name="HourTitle" xml:space="preserve">+ <value>Hour (24 hour)</value>+ </data>+ <data name="InvalidValue" xml:space="preserve">+ <value>Invalid value</value>+ </data>+ <data name="LocalDateTime" xml:space="preserve">+ <value>Local Date and Time</value>+ </data>+ <data name="MenuDisplayName" xml:space="preserve">+ <value>Timestamp</value>+ </data>+ <data name="MinutesTitle" xml:space="preserve">+ <value>Minutes</value>+ </data>+ <data name="MonthTitle" xml:space="preserve">+ <value>Month</value>+ </data>+ <data name="SearchDisplayName" xml:space="preserve">+ <value>Unix Timestamp Converter</value>+ </data>+ <data name="SearchKeywords" xml:space="preserve">+ <value>Time Date Timezone Epoch</value>+ <comment>Alternative search keywords. Enables searching for words that are not included in Description, MenuDisplayName, and SearchDisplayName.</comment>+ </data>+ <data name="SecondsTitle" xml:space="preserve">+ <value>Seconds</value>+ </data>+ <data name="TimestampTitle" xml:space="preserve">+ <value>Timestamp</value>+ </data>+ <data name="UTCDateTime" xml:space="preserve">+ <value>UTC Date and Time</value>+ </data>+ <data name="YearTitle" xml:space="preserve">+ <value>Year</value>+ </data>+</root>\ No newline at end of filediff --git a/src/dev/impl/DevToys/Strings/ko-KR/Timestamp.resw b/src/dev/impl/DevToys/Strings/ko-KR/Timestamp.reswnew file mode 100644index 000000000..1df179042--- /dev/null+++ b/src/dev/impl/DevToys/Strings/ko-KR/Timestamp.resw@@ -0,0 +1,166 @@+<?xml version="1.0" encoding="utf-8"?>+<root>+ <!--+ Microsoft ResX Schema++ Version 2.0++ The primary goals of this format is to allow a simple XML format+ that is mostly human readable. The generation and parsing of the+ various data types are done through the TypeConverter classes+ associated with the data types.++ Example:++ ... ado.net/XML headers & schema ...+ <resheader name="resmimetype">text/microsoft-resx</resheader>+ <resheader name="version">2.0</resheader>+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">+ <value>[base64 mime encoded serialized .NET Framework object]</value>+ </data>+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>+ <comment>This is a comment</comment>+ </data>++ There are any number of "resheader" rows that contain simple+ name/value pairs.++ Each data row contains a name, and value. The row also contains a+ type or mimetype. Type corresponds to a .NET class that support+ text/value conversion through the TypeConverter architecture.+ Classes that don't support this are serialized and stored with the+ mimetype set.++ The mimetype is used for serialized objects, and tells the+ ResXResourceReader how to depersist the object. This is currently not+ extensible. For a given mimetype the value must be set accordingly:++ Note - application/x-microsoft.net.object.binary.base64 is the format+ that the ResXResourceWriter will generate, however the reader can+ read any of the formats listed below.++ mimetype: application/x-microsoft.net.object.binary.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.soap.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.bytearray.base64+ value : The object must be serialized into a byte array+ : using a System.ComponentModel.TypeConverter+ : and then encoded with base64 encoding.+ -->+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />+ <xsd:element name="root" msdata:IsDataSet="true">+ <xsd:complexType>+ <xsd:choice maxOccurs="unbounded">+ <xsd:element name="metadata">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ <xsd:attribute name="type" type="xsd:string" />+ <xsd:attribute name="mimetype" type="xsd:string" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="assembly">+ <xsd:complexType>+ <xsd:attribute name="alias" type="xsd:string" />+ <xsd:attribute name="name" type="xsd:string" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="data">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="resheader">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" />+ </xsd:complexType>+ </xsd:element>+ </xsd:choice>+ </xsd:complexType>+ </xsd:element>+ </xsd:schema>+ <resheader name="resmimetype">+ <value>text/microsoft-resx</value>+ </resheader>+ <resheader name="version">+ <value>2.0</value>+ </resheader>+ <resheader name="reader">+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <resheader name="writer">+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <data name="AccessibleName" xml:space="preserve">+ <value>Timestamp converter tool</value>+ </data>+ <data name="DayTitle" xml:space="preserve">+ <value>Day</value>+ </data>+ <data name="Description" xml:space="preserve">+ <value>Convert timestamp to human-readable date and vice versa</value>+ </data>+ <data name="HourTitle" xml:space="preserve">+ <value>Hour (24 hour)</value>+ </data>+ <data name="InvalidValue" xml:space="preserve">+ <value>Invalid value</value>+ </data>+ <data name="LocalDateTime" xml:space="preserve">+ <value>Local Date and Time</value>+ </data>+ <data name="MenuDisplayName" xml:space="preserve">+ <value>Timestamp</value>+ </data>+ <data name="MinutesTitle" xml:space="preserve">+ <value>Minutes</value>+ </data>+ <data name="MonthTitle" xml:space="preserve">+ <value>Month</value>+ </data>+ <data name="SearchDisplayName" xml:space="preserve">+ <value>Unix Timestamp Converter</value>+ </data>+ <data name="SearchKeywords" xml:space="preserve">+ <value>Time Date Timezone Epoch</value>+ <comment>Alternative search keywords. Enables searching for words that are not included in Description, MenuDisplayName, and SearchDisplayName.</comment>+ </data>+ <data name="SecondsTitle" xml:space="preserve">+ <value>Seconds</value>+ </data>+ <data name="TimestampTitle" xml:space="preserve">+ <value>Timestamp</value>+ </data>+ <data name="UTCDateTime" xml:space="preserve">+ <value>UTC Date and Time</value>+ </data>+ <data name="YearTitle" xml:space="preserve">+ <value>Year</value>+ </data>+</root>\ No newline at end of filediff --git a/src/dev/impl/DevToys/Strings/pl-PL/Timestamp.resw b/src/dev/impl/DevToys/Strings/pl-PL/Timestamp.reswnew file mode 100644index 000000000..1df179042--- /dev/null+++ b/src/dev/impl/DevToys/Strings/pl-PL/Timestamp.resw@@ -0,0 +1,166 @@+<?xml version="1.0" encoding="utf-8"?>+<root>+ <!--+ Microsoft ResX Schema++ Version 2.0++ The primary goals of this format is to allow a simple XML format+ that is mostly human readable. The generation and parsing of the+ various data types are done through the TypeConverter classes+ associated with the data types.++ Example:++ ... ado.net/XML headers & schema ...+ <resheader name="resmimetype">text/microsoft-resx</resheader>+ <resheader name="version">2.0</resheader>+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">+ <value>[base64 mime encoded serialized .NET Framework object]</value>+ </data>+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>+ <comment>This is a comment</comment>+ </data>++ There are any number of "resheader" rows that contain simple+ name/value pairs.++ Each data row contains a name, and value. The row also contains a+ type or mimetype. Type corresponds to a .NET class that support+ text/value conversion through the TypeConverter architecture.+ Classes that don't support this are serialized and stored with the+ mimetype set.++ The mimetype is used for serialized objects, and tells the+ ResXResourceReader how to depersist the object. This is currently not+ extensible. For a given mimetype the value must be set accordingly:++ Note - application/x-microsoft.net.object.binary.base64 is the format+ that the ResXResourceWriter will generate, however the reader can+ read any of the formats listed below.++ mimetype: application/x-microsoft.net.object.binary.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.soap.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.bytearray.base64+ value : The object must be serialized into a byte array+ : using a System.ComponentModel.TypeConverter+ : and then encoded with base64 encoding.+ -->+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />+ <xsd:element name="root" msdata:IsDataSet="true">+ <xsd:complexType>+ <xsd:choice maxOccurs="unbounded">+ <xsd:element name="metadata">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ <xsd:attribute name="type" type="xsd:string" />+ <xsd:attribute name="mimetype" type="xsd:string" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="assembly">+ <xsd:complexType>+ <xsd:attribute name="alias" type="xsd:string" />+ <xsd:attribute name="name" type="xsd:string" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="data">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="resheader">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" />+ </xsd:complexType>+ </xsd:element>+ </xsd:choice>+ </xsd:complexType>+ </xsd:element>+ </xsd:schema>+ <resheader name="resmimetype">+ <value>text/microsoft-resx</value>+ </resheader>+ <resheader name="version">+ <value>2.0</value>+ </resheader>+ <resheader name="reader">+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <resheader name="writer">+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <data name="AccessibleName" xml:space="preserve">+ <value>Timestamp converter tool</value>+ </data>+ <data name="DayTitle" xml:space="preserve">+ <value>Day</value>+ </data>+ <data name="Description" xml:space="preserve">+ <value>Convert timestamp to human-readable date and vice versa</value>+ </data>+ <data name="HourTitle" xml:space="preserve">+ <value>Hour (24 hour)</value>+ </data>+ <data name="InvalidValue" xml:space="preserve">+ <value>Invalid value</value>+ </data>+ <data name="LocalDateTime" xml:space="preserve">+ <value>Local Date and Time</value>+ </data>+ <data name="MenuDisplayName" xml:space="preserve">+ <value>Timestamp</value>+ </data>+ <data name="MinutesTitle" xml:space="preserve">+ <value>Minutes</value>+ </data>+ <data name="MonthTitle" xml:space="preserve">+ <value>Month</value>+ </data>+ <data name="SearchDisplayName" xml:space="preserve">+ <value>Unix Timestamp Converter</value>+ </data>+ <data name="SearchKeywords" xml:space="preserve">+ <value>Time Date Timezone Epoch</value>+ <comment>Alternative search keywords. Enables searching for words that are not included in Description, MenuDisplayName, and SearchDisplayName.</comment>+ </data>+ <data name="SecondsTitle" xml:space="preserve">+ <value>Seconds</value>+ </data>+ <data name="TimestampTitle" xml:space="preserve">+ <value>Timestamp</value>+ </data>+ <data name="UTCDateTime" xml:space="preserve">+ <value>UTC Date and Time</value>+ </data>+ <data name="YearTitle" xml:space="preserve">+ <value>Year</value>+ </data>+</root>\ No newline at end of filediff --git a/src/dev/impl/DevToys/Strings/pt-BR/Timestamp.resw b/src/dev/impl/DevToys/Strings/pt-BR/Timestamp.reswnew file mode 100644index 000000000..1df179042--- /dev/null+++ b/src/dev/impl/DevToys/Strings/pt-BR/Timestamp.resw@@ -0,0 +1,166 @@+<?xml version="1.0" encoding="utf-8"?>+<root>+ <!--+ Microsoft ResX Schema++ Version 2.0++ The primary goals of this format is to allow a simple XML format+ that is mostly human readable. The generation and parsing of the+ various data types are done through the TypeConverter classes+ associated with the data types.++ Example:++ ... ado.net/XML headers & schema ...+ <resheader name="resmimetype">text/microsoft-resx</resheader>+ <resheader name="version">2.0</resheader>+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">+ <value>[base64 mime encoded serialized .NET Framework object]</value>+ </data>+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>+ <comment>This is a comment</comment>+ </data>++ There are any number of "resheader" rows that contain simple+ name/value pairs.++ Each data row contains a name, and value. The row also contains a+ type or mimetype. Type corresponds to a .NET class that support+ text/value conversion through the TypeConverter architecture.+ Classes that don't support this are serialized and stored with the+ mimetype set.++ The mimetype is used for serialized objects, and tells the+ ResXResourceReader how to depersist the object. This is currently not+ extensible. For a given mimetype the value must be set accordingly:++ Note - application/x-microsoft.net.object.binary.base64 is the format+ that the ResXResourceWriter will generate, however the reader can+ read any of the formats listed below.++ mimetype: application/x-microsoft.net.object.binary.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.soap.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.bytearray.base64+ value : The object must be serialized into a byte array+ : using a System.ComponentModel.TypeConverter+ : and then encoded with base64 encoding.+ -->+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />+ <xsd:element name="root" msdata:IsDataSet="true">+ <xsd:complexType>+ <xsd:choice maxOccurs="unbounded">+ <xsd:element name="metadata">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ <xsd:attribute name="type" type="xsd:string" />+ <xsd:attribute name="mimetype" type="xsd:string" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="assembly">+ <xsd:complexType>+ <xsd:attribute name="alias" type="xsd:string" />+ <xsd:attribute name="name" type="xsd:string" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="data">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="resheader">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" />+ </xsd:complexType>+ </xsd:element>+ </xsd:choice>+ </xsd:complexType>+ </xsd:element>+ </xsd:schema>+ <resheader name="resmimetype">+ <value>text/microsoft-resx</value>+ </resheader>+ <resheader name="version">+ <value>2.0</value>+ </resheader>+ <resheader name="reader">+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <resheader name="writer">+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <data name="AccessibleName" xml:space="preserve">+ <value>Timestamp converter tool</value>+ </data>+ <data name="DayTitle" xml:space="preserve">+ <value>Day</value>+ </data>+ <data name="Description" xml:space="preserve">+ <value>Convert timestamp to human-readable date and vice versa</value>+ </data>+ <data name="HourTitle" xml:space="preserve">+ <value>Hour (24 hour)</value>+ </data>+ <data name="InvalidValue" xml:space="preserve">+ <value>Invalid value</value>+ </data>+ <data name="LocalDateTime" xml:space="preserve">+ <value>Local Date and Time</value>+ </data>+ <data name="MenuDisplayName" xml:space="preserve">+ <value>Timestamp</value>+ </data>+ <data name="MinutesTitle" xml:space="preserve">+ <value>Minutes</value>+ </data>+ <data name="MonthTitle" xml:space="preserve">+ <value>Month</value>+ </data>+ <data name="SearchDisplayName" xml:space="preserve">+ <value>Unix Timestamp Converter</value>+ </data>+ <data name="SearchKeywords" xml:space="preserve">+ <value>Time Date Timezone Epoch</value>+ <comment>Alternative search keywords. Enables searching for words that are not included in Description, MenuDisplayName, and SearchDisplayName.</comment>+ </data>+ <data name="SecondsTitle" xml:space="preserve">+ <value>Seconds</value>+ </data>+ <data name="TimestampTitle" xml:space="preserve">+ <value>Timestamp</value>+ </data>+ <data name="UTCDateTime" xml:space="preserve">+ <value>UTC Date and Time</value>+ </data>+ <data name="YearTitle" xml:space="preserve">+ <value>Year</value>+ </data>+</root>\ No newline at end of filediff --git a/src/dev/impl/DevToys/Strings/pt-PT/Timestamp.resw b/src/dev/impl/DevToys/Strings/pt-PT/Timestamp.reswnew file mode 100644index 000000000..1df179042--- /dev/null+++ b/src/dev/impl/DevToys/Strings/pt-PT/Timestamp.resw@@ -0,0 +1,166 @@+<?xml version="1.0" encoding="utf-8"?>+<root>+ <!--+ Microsoft ResX Schema++ Version 2.0++ The primary goals of this format is to allow a simple XML format+ that is mostly human readable. The generation and parsing of the+ various data types are done through the TypeConverter classes+ associated with the data types.++ Example:++ ... ado.net/XML headers & schema ...+ <resheader name="resmimetype">text/microsoft-resx</resheader>+ <resheader name="version">2.0</resheader>+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">+ <value>[base64 mime encoded serialized .NET Framework object]</value>+ </data>+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>+ <comment>This is a comment</comment>+ </data>++ There are any number of "resheader" rows that contain simple+ name/value pairs.++ Each data row contains a name, and value. The row also contains a+ type or mimetype. Type corresponds to a .NET class that support+ text/value conversion through the TypeConverter architecture.+ Classes that don't support this are serialized and stored with the+ mimetype set.++ The mimetype is used for serialized objects, and tells the+ ResXResourceReader how to depersist the object. This is currently not+ extensible. For a given mimetype the value must be set accordingly:++ Note - application/x-microsoft.net.object.binary.base64 is the format+ that the ResXResourceWriter will generate, however the reader can+ read any of the formats listed below.++ mimetype: application/x-microsoft.net.object.binary.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.soap.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.bytearray.base64+ value : The object must be serialized into a byte array+ : using a System.ComponentModel.TypeConverter+ : and then encoded with base64 encoding.+ -->+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />+ <xsd:element name="root" msdata:IsDataSet="true">+ <xsd:complexType>+ <xsd:choice maxOccurs="unbounded">+ <xsd:element name="metadata">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ <xsd:attribute name="type" type="xsd:string" />+ <xsd:attribute name="mimetype" type="xsd:string" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="assembly">+ <xsd:complexType>+ <xsd:attribute name="alias" type="xsd:string" />+ <xsd:attribute name="name" type="xsd:string" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="data">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="resheader">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" />+ </xsd:complexType>+ </xsd:element>+ </xsd:choice>+ </xsd:complexType>+ </xsd:element>+ </xsd:schema>+ <resheader name="resmimetype">+ <value>text/microsoft-resx</value>+ </resheader>+ <resheader name="version">+ <value>2.0</value>+ </resheader>+ <resheader name="reader">+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <resheader name="writer">+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <data name="AccessibleName" xml:space="preserve">+ <value>Timestamp converter tool</value>+ </data>+ <data name="DayTitle" xml:space="preserve">+ <value>Day</value>+ </data>+ <data name="Description" xml:space="preserve">+ <value>Convert timestamp to human-readable date and vice versa</value>+ </data>+ <data name="HourTitle" xml:space="preserve">+ <value>Hour (24 hour)</value>+ </data>+ <data name="InvalidValue" xml:space="preserve">+ <value>Invalid value</value>+ </data>+ <data name="LocalDateTime" xml:space="preserve">+ <value>Local Date and Time</value>+ </data>+ <data name="MenuDisplayName" xml:space="preserve">+ <value>Timestamp</value>+ </data>+ <data name="MinutesTitle" xml:space="preserve">+ <value>Minutes</value>+ </data>+ <data name="MonthTitle" xml:space="preserve">+ <value>Month</value>+ </data>+ <data name="SearchDisplayName" xml:space="preserve">+ <value>Unix Timestamp Converter</value>+ </data>+ <data name="SearchKeywords" xml:space="preserve">+ <value>Time Date Timezone Epoch</value>+ <comment>Alternative search keywords. Enables searching for words that are not included in Description, MenuDisplayName, and SearchDisplayName.</comment>+ </data>+ <data name="SecondsTitle" xml:space="preserve">+ <value>Seconds</value>+ </data>+ <data name="TimestampTitle" xml:space="preserve">+ <value>Timestamp</value>+ </data>+ <data name="UTCDateTime" xml:space="preserve">+ <value>UTC Date and Time</value>+ </data>+ <data name="YearTitle" xml:space="preserve">+ <value>Year</value>+ </data>+</root>\ No newline at end of filediff --git a/src/dev/impl/DevToys/Strings/ru-RU/Timestamp.resw b/src/dev/impl/DevToys/Strings/ru-RU/Timestamp.reswnew file mode 100644index 000000000..1df179042--- /dev/null+++ b/src/dev/impl/DevToys/Strings/ru-RU/Timestamp.resw@@ -0,0 +1,166 @@+<?xml version="1.0" encoding="utf-8"?>+<root>+ <!--+ Microsoft ResX Schema++ Version 2.0++ The primary goals of this format is to allow a simple XML format+ that is mostly human readable. The generation and parsing of the+ various data types are done through the TypeConverter classes+ associated with the data types.++ Example:++ ... ado.net/XML headers & schema ...+ <resheader name="resmimetype">text/microsoft-resx</resheader>+ <resheader name="version">2.0</resheader>+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">+ <value>[base64 mime encoded serialized .NET Framework object]</value>+ </data>+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>+ <comment>This is a comment</comment>+ </data>++ There are any number of "resheader" rows that contain simple+ name/value pairs.++ Each data row contains a name, and value. The row also contains a+ type or mimetype. Type corresponds to a .NET class that support+ text/value conversion through the TypeConverter architecture.+ Classes that don't support this are serialized and stored with the+ mimetype set.++ The mimetype is used for serialized objects, and tells the+ ResXResourceReader how to depersist the object. This is currently not+ extensible. For a given mimetype the value must be set accordingly:++ Note - application/x-microsoft.net.object.binary.base64 is the format+ that the ResXResourceWriter will generate, however the reader can+ read any of the formats listed below.++ mimetype: application/x-microsoft.net.object.binary.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.soap.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.bytearray.base64+ value : The object must be serialized into a byte array+ : using a System.ComponentModel.TypeConverter+ : and then encoded with base64 encoding.+ -->+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />+ <xsd:element name="root" msdata:IsDataSet="true">+ <xsd:complexType>+ <xsd:choice maxOccurs="unbounded">+ <xsd:element name="metadata">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ <xsd:attribute name="type" type="xsd:string" />+ <xsd:attribute name="mimetype" type="xsd:string" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="assembly">+ <xsd:complexType>+ <xsd:attribute name="alias" type="xsd:string" />+ <xsd:attribute name="name" type="xsd:string" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="data">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="resheader">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" />+ </xsd:complexType>+ </xsd:element>+ </xsd:choice>+ </xsd:complexType>+ </xsd:element>+ </xsd:schema>+ <resheader name="resmimetype">+ <value>text/microsoft-resx</value>+ </resheader>+ <resheader name="version">+ <value>2.0</value>+ </resheader>+ <resheader name="reader">+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <resheader name="writer">+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <data name="AccessibleName" xml:space="preserve">+ <value>Timestamp converter tool</value>+ </data>+ <data name="DayTitle" xml:space="preserve">+ <value>Day</value>+ </data>+ <data name="Description" xml:space="preserve">+ <value>Convert timestamp to human-readable date and vice versa</value>+ </data>+ <data name="HourTitle" xml:space="preserve">+ <value>Hour (24 hour)</value>+ </data>+ <data name="InvalidValue" xml:space="preserve">+ <value>Invalid value</value>+ </data>+ <data name="LocalDateTime" xml:space="preserve">+ <value>Local Date and Time</value>+ </data>+ <data name="MenuDisplayName" xml:space="preserve">+ <value>Timestamp</value>+ </data>+ <data name="MinutesTitle" xml:space="preserve">+ <value>Minutes</value>+ </data>+ <data name="MonthTitle" xml:space="preserve">+ <value>Month</value>+ </data>+ <data name="SearchDisplayName" xml:space="preserve">+ <value>Unix Timestamp Converter</value>+ </data>+ <data name="SearchKeywords" xml:space="preserve">+ <value>Time Date Timezone Epoch</value>+ <comment>Alternative search keywords. Enables searching for words that are not included in Description, MenuDisplayName, and SearchDisplayName.</comment>+ </data>+ <data name="SecondsTitle" xml:space="preserve">+ <value>Seconds</value>+ </data>+ <data name="TimestampTitle" xml:space="preserve">+ <value>Timestamp</value>+ </data>+ <data name="UTCDateTime" xml:space="preserve">+ <value>UTC Date and Time</value>+ </data>+ <data name="YearTitle" xml:space="preserve">+ <value>Year</value>+ </data>+</root>\ No newline at end of filediff --git a/src/dev/impl/DevToys/Strings/zh-Hans/Timestamp.resw b/src/dev/impl/DevToys/Strings/zh-Hans/Timestamp.reswnew file mode 100644index 000000000..1df179042--- /dev/null+++ b/src/dev/impl/DevToys/Strings/zh-Hans/Timestamp.resw@@ -0,0 +1,166 @@+<?xml version="1.0" encoding="utf-8"?>+<root>+ <!--+ Microsoft ResX Schema++ Version 2.0++ The primary goals of this format is to allow a simple XML format+ that is mostly human readable. The generation and parsing of the+ various data types are done through the TypeConverter classes+ associated with the data types.++ Example:++ ... ado.net/XML headers & schema ...+ <resheader name="resmimetype">text/microsoft-resx</resheader>+ <resheader name="version">2.0</resheader>+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">+ <value>[base64 mime encoded serialized .NET Framework object]</value>+ </data>+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>+ <comment>This is a comment</comment>+ </data>++ There are any number of "resheader" rows that contain simple+ name/value pairs.++ Each data row contains a name, and value. The row also contains a+ type or mimetype. Type corresponds to a .NET class that support+ text/value conversion through the TypeConverter architecture.+ Classes that don't support this are serialized and stored with the+ mimetype set.++ The mimetype is used for serialized objects, and tells the+ ResXResourceReader how to depersist the object. This is currently not+ extensible. For a given mimetype the value must be set accordingly:++ Note - application/x-microsoft.net.object.binary.base64 is the format+ that the ResXResourceWriter will generate, however the reader can+ read any of the formats listed below.++ mimetype: application/x-microsoft.net.object.binary.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.soap.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.bytearray.base64+ value : The object must be serialized into a byte array+ : using a System.ComponentModel.TypeConverter+ : and then encoded with base64 encoding.+ -->+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />+ <xsd:element name="root" msdata:IsDataSet="true">+ <xsd:complexType>+ <xsd:choice maxOccurs="unbounded">+ <xsd:element name="metadata">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ <xsd:attribute name="type" type="xsd:string" />+ <xsd:attribute name="mimetype" type="xsd:string" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="assembly">+ <xsd:complexType>+ <xsd:attribute name="alias" type="xsd:string" />+ <xsd:attribute name="name" type="xsd:string" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="data">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="resheader">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" />+ </xsd:complexType>+ </xsd:element>+ </xsd:choice>+ </xsd:complexType>+ </xsd:element>+ </xsd:schema>+ <resheader name="resmimetype">+ <value>text/microsoft-resx</value>+ </resheader>+ <resheader name="version">+ <value>2.0</value>+ </resheader>+ <resheader name="reader">+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <resheader name="writer">+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <data name="AccessibleName" xml:space="preserve">+ <value>Timestamp converter tool</value>+ </data>+ <data name="DayTitle" xml:space="preserve">+ <value>Day</value>+ </data>+ <data name="Description" xml:space="preserve">+ <value>Convert timestamp to human-readable date and vice versa</value>+ </data>+ <data name="HourTitle" xml:space="preserve">+ <value>Hour (24 hour)</value>+ </data>+ <data name="InvalidValue" xml:space="preserve">+ <value>Invalid value</value>+ </data>+ <data name="LocalDateTime" xml:space="preserve">+ <value>Local Date and Time</value>+ </data>+ <data name="MenuDisplayName" xml:space="preserve">+ <value>Timestamp</value>+ </data>+ <data name="MinutesTitle" xml:space="preserve">+ <value>Minutes</value>+ </data>+ <data name="MonthTitle" xml:space="preserve">+ <value>Month</value>+ </data>+ <data name="SearchDisplayName" xml:space="preserve">+ <value>Unix Timestamp Converter</value>+ </data>+ <data name="SearchKeywords" xml:space="preserve">+ <value>Time Date Timezone Epoch</value>+ <comment>Alternative search keywords. Enables searching for words that are not included in Description, MenuDisplayName, and SearchDisplayName.</comment>+ </data>+ <data name="SecondsTitle" xml:space="preserve">+ <value>Seconds</value>+ </data>+ <data name="TimestampTitle" xml:space="preserve">+ <value>Timestamp</value>+ </data>+ <data name="UTCDateTime" xml:space="preserve">+ <value>UTC Date and Time</value>+ </data>+ <data name="YearTitle" xml:space="preserve">+ <value>Year</value>+ </data>+</root>\ No newline at end of filediff --git a/src/dev/impl/DevToys/Strings/zh-Hant/Timestamp.resw b/src/dev/impl/DevToys/Strings/zh-Hant/Timestamp.reswnew file mode 100644index 000000000..1df179042--- /dev/null+++ b/src/dev/impl/DevToys/Strings/zh-Hant/Timestamp.resw@@ -0,0 +1,166 @@+<?xml version="1.0" encoding="utf-8"?>+<root>+ <!--+ Microsoft ResX Schema++ Version 2.0++ The primary goals of this format is to allow a simple XML format+ that is mostly human readable. The generation and parsing of the+ various data types are done through the TypeConverter classes+ associated with the data types.++ Example:++ ... ado.net/XML headers & schema ...+ <resheader name="resmimetype">text/microsoft-resx</resheader>+ <resheader name="version">2.0</resheader>+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">+ <value>[base64 mime encoded serialized .NET Framework object]</value>+ </data>+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>+ <comment>This is a comment</comment>+ </data>++ There are any number of "resheader" rows that contain simple+ name/value pairs.++ Each data row contains a name, and value. The row also contains a+ type or mimetype. Type corresponds to a .NET class that support+ text/value conversion through the TypeConverter architecture.+ Classes that don't support this are serialized and stored with the+ mimetype set.++ The mimetype is used for serialized objects, and tells the+ ResXResourceReader how to depersist the object. This is currently not+ extensible. For a given mimetype the value must be set accordingly:++ Note - application/x-microsoft.net.object.binary.base64 is the format+ that the ResXResourceWriter will generate, however the reader can+ read any of the formats listed below.++ mimetype: application/x-microsoft.net.object.binary.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.soap.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.bytearray.base64+ value : The object must be serialized into a byte array+ : using a System.ComponentModel.TypeConverter+ : and then encoded with base64 encoding.+ -->+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />+ <xsd:element name="root" msdata:IsDataSet="true">+ <xsd:complexType>+ <xsd:choice maxOccurs="unbounded">+ <xsd:element name="metadata">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ <xsd:attribute name="type" type="xsd:string" />+ <xsd:attribute name="mimetype" type="xsd:string" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="assembly">+ <xsd:complexType>+ <xsd:attribute name="alias" type="xsd:string" />+ <xsd:attribute name="name" type="xsd:string" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="data">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="resheader">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" />+ </xsd:complexType>+ </xsd:element>+ </xsd:choice>+ </xsd:complexType>+ </xsd:element>+ </xsd:schema>+ <resheader name="resmimetype">+ <value>text/microsoft-resx</value>+ </resheader>+ <resheader name="version">+ <value>2.0</value>+ </resheader>+ <resheader name="reader">+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <resheader name="writer">+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <data name="AccessibleName" xml:space="preserve">+ <value>Timestamp converter tool</value>+ </data>+ <data name="DayTitle" xml:space="preserve">+ <value>Day</value>+ </data>+ <data name="Description" xml:space="preserve">+ <value>Convert timestamp to human-readable date and vice versa</value>+ </data>+ <data name="HourTitle" xml:space="preserve">+ <value>Hour (24 hour)</value>+ </data>+ <data name="InvalidValue" xml:space="preserve">+ <value>Invalid value</value>+ </data>+ <data name="LocalDateTime" xml:space="preserve">+ <value>Local Date and Time</value>+ </data>+ <data name="MenuDisplayName" xml:space="preserve">+ <value>Timestamp</value>+ </data>+ <data name="MinutesTitle" xml:space="preserve">+ <value>Minutes</value>+ </data>+ <data name="MonthTitle" xml:space="preserve">+ <value>Month</value>+ </data>+ <data name="SearchDisplayName" xml:space="preserve">+ <value>Unix Timestamp Converter</value>+ </data>+ <data name="SearchKeywords" xml:space="preserve">+ <value>Time Date Timezone Epoch</value>+ <comment>Alternative search keywords. Enables searching for words that are not included in Description, MenuDisplayName, and SearchDisplayName.</comment>+ </data>+ <data name="SecondsTitle" xml:space="preserve">+ <value>Seconds</value>+ </data>+ <data name="TimestampTitle" xml:space="preserve">+ <value>Timestamp</value>+ </data>+ <data name="UTCDateTime" xml:space="preserve">+ <value>UTC Date and Time</value>+ </data>+ <data name="YearTitle" xml:space="preserve">+ <value>Year</value>+ </data>+</root>\ No newline at end of filediff --git a/src/dev/impl/DevToys/ViewModels/Tools/Converters/Timestamp/TimestampToolProvider.cs b/src/dev/impl/DevToys/ViewModels/Tools/Converters/Timestamp/TimestampToolProvider.csnew file mode 100644index 000000000..b4a5d9199--- /dev/null+++ b/src/dev/impl/DevToys/ViewModels/Tools/Converters/Timestamp/TimestampToolProvider.cs@@ -0,0 +1,66 @@+#nullable enable++using System;+using System.Composition;+using DevToys.Api.Tools;+using DevToys.Core.Threading;+using DevToys.Shared.Api.Core;+using DevToys.ViewModels.Tools.Timestamp;+using Windows.UI.Xaml.Controls;++namespace DevToys.ViewModels.Tools.Converters.Timestamp+{+ [Export(typeof(IToolProvider))]+ [Name("Timestamp")]+ [Parent(ConvertersGroupToolProvider.InternalName)]+ [ProtocolName("time")]+ [Order(0)]+ internal sealed class TimestampToolProvider : ToolProviderBase, IToolProvider+ {+ private readonly IMefProvider _mefProvider;++ public string MenuDisplayName => LanguageManager.Instance.Timestamp.MenuDisplayName;++ public string? SearchDisplayName => LanguageManager.Instance.Timestamp.SearchDisplayName;++ public string? Description => LanguageManager.Instance.Timestamp.Description;++ public string AccessibleName => LanguageManager.Instance.Timestamp.AccessibleName;++ public string? SearchKeywords => LanguageManager.Instance.Timestamp.SearchKeywords;++ public TaskCompletionNotifier<IconElement> IconSource => CreateFontIcon("\uF823");++ [ImportingConstructor]+ public TimestampToolProvider(IMefProvider mefProvider)+ {+ _mefProvider = mefProvider;+ }++ public bool CanBeTreatedByTool(string data)+ {+ if (long.TryParse(data, out long potentialTimestamp))+ {+ try+ {+ new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc).AddSeconds(potentialTimestamp);+ return true;+ }+ catch+ {+ }+ }+ else if (DateTime.TryParse(data, out DateTime potentialDateTime))+ {+ return true;+ }++ return false;+ }++ public IToolViewModel CreateTool()+ {+ return _mefProvider.Import<TimestampToolViewModel>();+ }+ }+}diff --git a/src/dev/impl/DevToys/ViewModels/Tools/Converters/Timestamp/TimestampToolViewModel.cs b/src/dev/impl/DevToys/ViewModels/Tools/Converters/Timestamp/TimestampToolViewModel.csnew file mode 100644index 000000000..351cf0a36--- /dev/null+++ b/src/dev/impl/DevToys/ViewModels/Tools/Converters/Timestamp/TimestampToolViewModel.cs@@ -0,0 +1,294 @@+#nullable enable++using System;+using System.Composition;+using DevToys.Api.Tools;+using DevToys.Views.Tools.Timestamp;+using Microsoft.Toolkit.Mvvm.ComponentModel;+using Microsoft.Toolkit.Mvvm.Input;+using Windows.ApplicationModel.DataTransfer;++namespace DevToys.ViewModels.Tools.Timestamp+{+ [Export(typeof(TimestampToolViewModel))]+ public sealed class TimestampToolViewModel : ObservableRecipient, IToolViewModel+ {+ private bool _isInputInvalid;+ private double _timestamp;+ private DateTime _utcDateTime;+ private Lazy<DateTime> _localDateTime = null!;++ public Type View => typeof(TimestampToolPage);++ internal TimestampStrings Strings => LanguageManager.Instance.Timestamp;++ internal bool IsInputInvalid+ {+ get => _isInputInvalid;+ set => SetProperty(ref _isInputInvalid, value);+ }++ internal double Timestamp+ {+ get => _timestamp;+ set+ {+ if (double.IsNaN(value))+ {+ _timestamp = 0;+ }+ else+ {+ _timestamp = value;+ }++ ResetUtcDateTime();+ ResetLocalDateTime();+ }+ }++ internal int UtcYear+ {+ get => _utcDateTime.Year;+ set+ {+ _utcDateTime = new DateTime(value, UtcMonth, UtcDay, UtcHour, UtcMinute, UtcSecond, DateTimeKind.Utc);+ ResetLocalDateTime();+ ResetTimestamp();+ }+ }++ internal int UtcMonth+ {+ get => _utcDateTime.Month;+ set+ {+ _utcDateTime = new DateTime(UtcYear, value, UtcDay, UtcHour, UtcMinute, UtcSecond, DateTimeKind.Utc);+ ResetLocalDateTime();+ ResetTimestamp();+ }+ }++ internal int UtcDay+ {+ get => _utcDateTime.Day;+ set+ {+ _utcDateTime = new DateTime(UtcYear, UtcMonth, value, UtcHour, UtcMinute, UtcSecond, DateTimeKind.Utc);+ ResetLocalDateTime();+ ResetTimestamp();+ }+ }++ internal int UtcHour+ {+ get => _utcDateTime.Hour;+ set+ {+ _utcDateTime = new DateTime(UtcYear, UtcMonth, UtcDay, value, UtcMinute, UtcSecond, DateTimeKind.Utc);+ ResetLocalDateTime();+ ResetTimestamp();+ }+ }++ internal int UtcMinute+ {+ get => _utcDateTime.Minute;+ set+ {+ _utcDateTime = new DateTime(UtcYear, UtcMonth, UtcDay, UtcHour, value, UtcSecond, DateTimeKind.Utc);+ ResetLocalDateTime();+ ResetTimestamp();+ }+ }++ internal int UtcSecond+ {+ get => _utcDateTime.Second;+ set+ {+ _utcDateTime = new DateTime(UtcYear, UtcMonth, UtcDay, UtcHour, UtcMinute, value, DateTimeKind.Utc);+ ResetLocalDateTime();+ ResetTimestamp();+ }+ }++ internal int LocalYear+ {+ get => _localDateTime.Value.Year;+ set+ {+ var localDateTime = new DateTime(value, LocalMonth, LocalDay, LocalHour, LocalMinute, LocalSecond, DateTimeKind.Local);+ _timestamp = new DateTimeOffset(localDateTime.ToUniversalTime()).ToUnixTimeSeconds();+ ResetUtcDateTime();+ ResetLocalDateTime();+ ResetTimestamp();+ }+ }++ internal int LocalMonth+ {+ get => _localDateTime.Value.Month;+ set+ {+ var localDateTime = new DateTime(LocalYear, value, LocalDay, LocalHour, LocalMinute, LocalSecond, DateTimeKind.Local);+ _timestamp = new DateTimeOffset(localDateTime.ToUniversalTime()).ToUnixTimeSeconds();+ ResetUtcDateTime();+ ResetLocalDateTime();+ ResetTimestamp();+ }+ }++ internal int LocalDay+ {+ get => _localDateTime.Value.Day;+ set+ {+ var localDateTime = new DateTime(LocalYear, LocalMonth, value, LocalHour, LocalMinute, LocalSecond, DateTimeKind.Local);+ _timestamp = new DateTimeOffset(localDateTime.ToUniversalTime()).ToUnixTimeSeconds();+ ResetUtcDateTime();+ ResetLocalDateTime();+ ResetTimestamp();+ }+ }++ internal int LocalHour+ {+ get => _localDateTime.Value.Hour;+ set+ {+ var localDateTime = new DateTime(LocalYear, LocalMonth, LocalDay, value, LocalMinute, LocalSecond, DateTimeKind.Local);+ _timestamp = new DateTimeOffset(localDateTime.ToUniversalTime()).ToUnixTimeSeconds();+ ResetUtcDateTime();+ ResetLocalDateTime();+ ResetTimestamp();+ }+ }++ internal int LocalMinute+ {+ get => _localDateTime.Value.Minute;+ set+ {+ var localDateTime = new DateTime(LocalYear, LocalMonth, LocalDay, LocalHour, value, LocalSecond, DateTimeKind.Local);+ _timestamp = new DateTimeOffset(localDateTime.ToUniversalTime()).ToUnixTimeSeconds();+ ResetUtcDateTime();+ ResetLocalDateTime();+ ResetTimestamp();+ }+ }++ internal int LocalSecond+ {+ get => _localDateTime.Value.Second;+ set+ {+ var localDateTime = new DateTime(LocalYear, LocalMonth, LocalDay, LocalHour, LocalMinute, value, DateTimeKind.Local);+ _timestamp = new DateTimeOffset(localDateTime.ToUniversalTime()).ToUnixTimeSeconds();+ ResetUtcDateTime();+ ResetLocalDateTime();+ ResetTimestamp();+ }+ }++ public TimestampToolViewModel()+ {+ PasteCommand = new RelayCommand(ExecutePasteCommand);+ CopyCommand = new RelayCommand(ExecuteCopyCommand);++ // Set to the current epoch time.+ Timestamp = DateTimeOffset.UtcNow.ToUnixTimeSeconds();+ }++ #region PasteCommand++ internal IRelayCommand PasteCommand { get; }++ private async void ExecutePasteCommand()+ {+ try+ {+ DataPackageView? dataPackageView = Clipboard.GetContent();+ if (!dataPackageView.Contains(StandardDataFormats.Text))+ {+ return;+ }++ string? text = await dataPackageView.GetTextAsync();++ if (long.TryParse(text, out long value))+ {+ Timestamp = value;+ }+ }+ catch (Exception ex)+ {+ Core.Logger.LogFault("Failed to paste in numeric box", ex);+ }+ }++ #endregion++ #region CopyCommand++ internal IRelayCommand CopyCommand { get; }++ private void ExecuteCopyCommand()+ {+ try+ {+ var data = new DataPackage+ {+ RequestedOperation = DataPackageOperation.Copy+ };+ data.SetText(Timestamp.ToString());++ Clipboard.SetContentWithOptions(data, new ClipboardContentOptions() { IsAllowedInHistory = true, IsRoamable = true });+ Clipboard.Flush(); // This method allows the content to remain available after the application shuts down.+ }+ catch (Exception ex)+ {+ Core.Logger.LogFault("Failed to copy from numeric box", ex);+ }+ }++ #endregion++ private void ResetUtcDateTime()+ {+ try+ {+ _utcDateTime = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc).AddSeconds((long)Timestamp);+ IsInputInvalid = false;+ }+ catch+ {+ IsInputInvalid = true;+ }++ OnPropertyChanged(nameof(UtcYear));+ OnPropertyChanged(nameof(UtcMonth));+ OnPropertyChanged(nameof(UtcDay));+ OnPropertyChanged(nameof(UtcHour));+ OnPropertyChanged(nameof(UtcMinute));+ OnPropertyChanged(nameof(UtcSecond));+ }++ private void ResetLocalDateTime()+ {+ _localDateTime = new Lazy<DateTime>(() => _utcDateTime.ToLocalTime());+ OnPropertyChanged(nameof(LocalYear));+ OnPropertyChanged(nameof(LocalMonth));+ OnPropertyChanged(nameof(LocalDay));+ OnPropertyChanged(nameof(LocalHour));+ OnPropertyChanged(nameof(LocalMinute));+ OnPropertyChanged(nameof(LocalSecond));+ }++ private void ResetTimestamp()+ {+ _timestamp = new DateTimeOffset(_utcDateTime).ToUnixTimeSeconds();+ OnPropertyChanged(nameof(Timestamp));+ }+ }+}diff --git a/src/dev/impl/DevToys/Views/Tools/Converters/Timestamp/TimestampToolPage.xaml b/src/dev/impl/DevToys/Views/Tools/Converters/Timestamp/TimestampToolPage.xamlnew file mode 100644index 000000000..9faea16b2--- /dev/null+++ b/src/dev/impl/DevToys/Views/Tools/Converters/Timestamp/TimestampToolPage.xaml@@ -0,0 +1,320 @@+<Page+ x:Class="DevToys.Views.Tools.Timestamp.TimestampToolPage"+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"+ xmlns:muxc="using:Microsoft.UI.Xaml.Controls"+ xmlns:local="using:DevToys.Views.Tools.Timestamp"+ mc:Ignorable="d"+ d:DesignHeight="400"+ d:DesignWidth="600">+ <StackPanel Margin="0,0,0,16" Spacing="12">+ <StackPanel.ChildrenTransitions>+ <TransitionCollection>+ <EntranceThemeTransition IsStaggeringEnabled="True" FromVerticalOffset="50"/>+ </TransitionCollection>+ </StackPanel.ChildrenTransitions>++ <StackPanel Margin="0,12,0,0">++ <muxc:InfoBar+ Severity="Warning"+ Message="{x:Bind ViewModel.Strings.InvalidValue}"+ IsOpen="{x:Bind ViewModel.IsInputInvalid, Mode=OneWay}"+ IsClosable="False"/>++ <Grid>+ <Grid.ColumnDefinitions>+ <ColumnDefinition Width="*"/>+ <ColumnDefinition Width="Auto"/>+ </Grid.ColumnDefinitions>+ <TextBlock+ x:Name="TimestampHeaderTextBlock"+ Text="{x:Bind ViewModel.Strings.TimestampTitle}"+ Margin="{ThemeResource TextBoxTopHeaderMargin}"+ Style="{StaticResource SubTitleTextBlock}"+ TextWrapping="NoWrap"+ TextTrimming="CharacterEllipsis"+ VerticalAlignment="Bottom"/>+ <StackPanel+ Grid.Column="1"+ Orientation="Horizontal"+ HorizontalAlignment="Right"+ Spacing="8"+ Margin="0,0,0,8"+ AutomationProperties.LabeledBy="{Binding ElementName=TimestampHeaderTextBlock}">+ <Button+ TabIndex="1"+ Command="{x:Bind ViewModel.PasteCommand}"+ AutomationProperties.Name="{Binding Instance.Common.Paste, Mode=OneTime, Source={StaticResource LanguageManager}}">+ <StackPanel Orientation="Horizontal" Spacing="4">+ <FontIcon Glyph=""/>+ <TextBlock VerticalAlignment="Center" Text="{Binding Instance.Common.Paste, Mode=OneTime, Source={StaticResource LanguageManager}}"/>+ </StackPanel>+ </Button>+ <Button+ TabIndex="2"+ Command="{x:Bind ViewModel.CopyCommand}"+ AutomationProperties.Name="{Binding Instance.Common.Copy, Mode=OneTime, Source={StaticResource LanguageManager}}">+ <StackPanel Orientation="Horizontal" Spacing="4">+ <FontIcon Glyph=""/>+ <TextBlock VerticalAlignment="Center" Text="{Binding Instance.Common.Copy, Mode=OneTime, Source={StaticResource LanguageManager}}"/>+ </StackPanel>+ </Button>+ </StackPanel>+ </Grid>+ <muxc:NumberBox+ Value="{x:Bind ViewModel.Timestamp, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"+ SpinButtonPlacementMode="Compact"+ SmallChange="1"+ LargeChange="10"+ Minimum="{x:Bind local:TimestampToolPage.MinimumTimestamp}"+ Maximum="{x:Bind local:TimestampToolPage.MaximumTimestamp}"+ TabIndex="0"+ AutomationProperties.LabeledBy="{Binding ElementName=TimestampHeaderTextBlock}"/>+ </StackPanel>++ <TextBlock x:Name="UtcDateTime" Style="{StaticResource SubTitleTextBlock}" Text="{x:Bind ViewModel.Strings.UTCDateTime}" />+ <Grid ColumnSpacing="8" AutomationProperties.LabeledBy="{Binding ElementName=UtcDateTime}">+ <Grid.ColumnDefinitions>+ <ColumnDefinition Width="*"/>+ <ColumnDefinition Width="*"/>+ <ColumnDefinition Width="*"/>+ <ColumnDefinition Width="*"/>+ <ColumnDefinition Width="*"/>+ <ColumnDefinition Width="*"/>+ </Grid.ColumnDefinitions>++ <StackPanel Grid.Column="0">+ <TextBlock+ x:Name="UtcYearHeaderTextBlock"+ Text="{x:Bind ViewModel.Strings.YearTitle}"+ Margin="{ThemeResource TextBoxTopHeaderMargin}"+ Style="{StaticResource SubTitleTextBlock}"+ TextWrapping="NoWrap"+ TextTrimming="CharacterEllipsis"+ VerticalAlignment="Bottom"/>+ <muxc:NumberBox+ Value="{x:Bind ViewModel.UtcYear, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"+ SpinButtonPlacementMode="Compact"+ SmallChange="1"+ LargeChange="10"+ Minimum="0"+ Maximum="9999"+ AutomationProperties.LabeledBy="{Binding ElementName=UtcYearHeaderTextBlock}"/>+ </StackPanel>++ <StackPanel Grid.Column="1">+ <TextBlock+ x:Name="UtcMonthHeaderTextBlock"+ Text="{x:Bind ViewModel.Strings.MonthTitle}"+ Margin="{ThemeResource TextBoxTopHeaderMargin}"+ Style="{StaticResource SubTitleTextBlock}"+ TextWrapping="NoWrap"+ TextTrimming="CharacterEllipsis"+ VerticalAlignment="Bottom"/>+ <muxc:NumberBox+ Value="{x:Bind ViewModel.UtcMonth, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"+ SpinButtonPlacementMode="Compact"+ SmallChange="1"+ Minimum="1"+ Maximum="12"+ AutomationProperties.LabeledBy="{Binding ElementName=UtcMonthHeaderTextBlock}"/>+ </StackPanel>++ <StackPanel Grid.Column="2">+ <TextBlock+ x:Name="UtcDayHeaderTextBlock"+ Text="{x:Bind ViewModel.Strings.DayTitle}"+ Margin="{ThemeResource TextBoxTopHeaderMargin}"+ Style="{StaticResource SubTitleTextBlock}"+ TextWrapping="NoWrap"+ TextTrimming="CharacterEllipsis"+ VerticalAlignment="Bottom"/>+ <muxc:NumberBox+ Value="{x:Bind ViewModel.UtcDay, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"+ SpinButtonPlacementMode="Compact"+ SmallChange="1"+ Minimum="1"+ Maximum="31"+ AutomationProperties.LabeledBy="{Binding ElementName=UtcDayHeaderTextBlock}"/>+ </StackPanel>++ <StackPanel Grid.Column="3">+ <TextBlock+ x:Name="UtcHourHeaderTextBlock"+ Text="{x:Bind ViewModel.Strings.HourTitle}"+ Margin="{ThemeResource TextBoxTopHeaderMargin}"+ Style="{StaticResource SubTitleTextBlock}"+ TextWrapping="NoWrap"+ TextTrimming="CharacterEllipsis"+ VerticalAlignment="Bottom"/>+ <muxc:NumberBox+ Value="{x:Bind ViewModel.UtcHour, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"+ SpinButtonPlacementMode="Compact"+ SmallChange="1"+ Minimum="0"+ Maximum="23"+ AutomationProperties.LabeledBy="{Binding ElementName=UtcHourHeaderTextBlock}"/>+ </StackPanel>++ <StackPanel Grid.Column="4">+ <TextBlock+ x:Name="UtcMinuteHeaderTextBlock"+ Text="{x:Bind ViewModel.Strings.MinutesTitle}"+ Margin="{ThemeResource TextBoxTopHeaderMargin}"+ Style="{StaticResource SubTitleTextBlock}"+ TextWrapping="NoWrap"+ TextTrimming="CharacterEllipsis"+ VerticalAlignment="Bottom"/>+ <muxc:NumberBox+ Value="{x:Bind ViewModel.UtcMinute, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"+ SpinButtonPlacementMode="Compact"+ SmallChange="1"+ Minimum="0"+ Maximum="59"+ AutomationProperties.LabeledBy="{Binding ElementName=UtcMinuteHeaderTextBlock}"/>+ </StackPanel>++ <StackPanel Grid.Column="5">+ <TextBlock+ x:Name="UtcSecondHeaderTextBlock"+ Text="{x:Bind ViewModel.Strings.SecondsTitle}"+ Margin="{ThemeResource TextBoxTopHeaderMargin}"+ Style="{StaticResource SubTitleTextBlock}"+ TextWrapping="NoWrap"+ TextTrimming="CharacterEllipsis"+ VerticalAlignment="Bottom"/>+ <muxc:NumberBox+ Value="{x:Bind ViewModel.UtcSecond, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"+ SpinButtonPlacementMode="Compact"+ SmallChange="1"+ Minimum="0"+ Maximum="59"+ AutomationProperties.LabeledBy="{Binding ElementName=UtcSecondHeaderTextBlock}"/>+ </StackPanel>+ </Grid>++ <TextBlock x:Name="LocalDateTime" Style="{StaticResource SubTitleTextBlock}" Text="{x:Bind ViewModel.Strings.LocalDateTime}" />+ <Grid ColumnSpacing="8" AutomationProperties.LabeledBy="{Binding ElementName=LocalDateTime}">+ <Grid.ColumnDefinitions>+ <ColumnDefinition Width="*"/>+ <ColumnDefinition Width="*"/>+ <ColumnDefinition Width="*"/>+ <ColumnDefinition Width="*"/>+ <ColumnDefinition Width="*"/>+ <ColumnDefinition Width="*"/>+ </Grid.ColumnDefinitions>++ <StackPanel Grid.Column="0">+ <TextBlock+ x:Name="YearHeaderTextBlock"+ Text="{x:Bind ViewModel.Strings.YearTitle}"+ Margin="{ThemeResource TextBoxTopHeaderMargin}"+ Style="{StaticResource SubTitleTextBlock}"+ TextWrapping="NoWrap"+ TextTrimming="CharacterEllipsis"+ VerticalAlignment="Bottom"/>+ <muxc:NumberBox+ Value="{x:Bind ViewModel.LocalYear, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"+ SpinButtonPlacementMode="Compact"+ SmallChange="1"+ LargeChange="10"+ Minimum="0"+ Maximum="9999"+ AutomationProperties.LabeledBy="{Binding ElementName=YearHeaderTextBlock}"/>+ </StackPanel>++ <StackPanel Grid.Column="1">+ <TextBlock+ x:Name="MonthHeaderTextBlock"+ Text="{x:Bind ViewModel.Strings.MonthTitle}"+ Margin="{ThemeResource TextBoxTopHeaderMargin}"+ Style="{StaticResource SubTitleTextBlock}"+ TextWrapping="NoWrap"+ TextTrimming="CharacterEllipsis"+ VerticalAlignment="Bottom"/>+ <muxc:NumberBox+ Value="{x:Bind ViewModel.LocalMonth, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"+ SpinButtonPlacementMode="Compact"+ SmallChange="1"+ Minimum="1"+ Maximum="12"+ AutomationProperties.LabeledBy="{Binding ElementName=MonthHeaderTextBlock}"/>+ </StackPanel>++ <StackPanel Grid.Column="2">+ <TextBlock+ x:Name="DayHeaderTextBlock"+ Text="{x:Bind ViewModel.Strings.DayTitle}"+ Margin="{ThemeResource TextBoxTopHeaderMargin}"+ Style="{StaticResource SubTitleTextBlock}"+ TextWrapping="NoWrap"+ TextTrimming="CharacterEllipsis"+ VerticalAlignment="Bottom"/>+ <muxc:NumberBox+ Value="{x:Bind ViewModel.LocalDay, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"+ SpinButtonPlacementMode="Compact"+ SmallChange="1"+ Minimum="1"+ Maximum="31"+ AutomationProperties.LabeledBy="{Binding ElementName=DayHeaderTextBlock}"/>+ </StackPanel>++ <StackPanel Grid.Column="3">+ <TextBlock+ x:Name="HourHeaderTextBlock"+ Text="{x:Bind ViewModel.Strings.HourTitle}"+ Margin="{ThemeResource TextBoxTopHeaderMargin}"+ Style="{StaticResource SubTitleTextBlock}"+ TextWrapping="NoWrap"+ TextTrimming="CharacterEllipsis"+ VerticalAlignment="Bottom"/>+ <muxc:NumberBox+ Value="{x:Bind ViewModel.LocalHour, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"+ SpinButtonPlacementMode="Compact"+ SmallChange="1"+ Minimum="0"+ Maximum="23"+ AutomationProperties.LabeledBy="{Binding ElementName=HourHeaderTextBlock}"/>+ </StackPanel>++ <StackPanel Grid.Column="4">+ <TextBlock+ x:Name="MinuteHeaderTextBlock"+ Text="{x:Bind ViewModel.Strings.MinutesTitle}"+ Margin="{ThemeResource TextBoxTopHeaderMargin}"+ Style="{StaticResource SubTitleTextBlock}"+ TextWrapping="NoWrap"+ TextTrimming="CharacterEllipsis"+ VerticalAlignment="Bottom"/>+ <muxc:NumberBox+ Value="{x:Bind ViewModel.LocalMinute, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"+ SpinButtonPlacementMode="Compact"+ SmallChange="1"+ Minimum="0"+ Maximum="59"+ AutomationProperties.LabeledBy="{Binding ElementName=MinuteHeaderTextBlock}"/>+ </StackPanel>++ <StackPanel Grid.Column="5">+ <TextBlock+ x:Name="SecondHeaderTextBlock"+ Text="{x:Bind ViewModel.Strings.SecondsTitle}"+ Margin="{ThemeResource TextBoxTopHeaderMargin}"+ Style="{StaticResource SubTitleTextBlock}"+ TextWrapping="NoWrap"+ TextTrimming="CharacterEllipsis"+ VerticalAlignment="Bottom"/>+ <muxc:NumberBox+ Value="{x:Bind ViewModel.LocalSecond, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"+ SpinButtonPlacementMode="Compact"+ SmallChange="1"+ Minimum="0"+ Maximum="59"+ AutomationProperties.LabeledBy="{Binding ElementName=SecondHeaderTextBlock}"/>+ </StackPanel>+ </Grid>+ </StackPanel>+</Page>diff --git a/src/dev/impl/DevToys/Views/Tools/Converters/Timestamp/TimestampToolPage.xaml.cs b/src/dev/impl/DevToys/Views/Tools/Converters/Timestamp/TimestampToolPage.xaml.csnew file mode 100644index 000000000..065ff501a--- /dev/null+++ b/src/dev/impl/DevToys/Views/Tools/Converters/Timestamp/TimestampToolPage.xaml.cs@@ -0,0 +1,66 @@+#nullable enable++using System;+using DevToys.Api.Core.Navigation;+using DevToys.Shared.Core;+using DevToys.ViewModels.Tools.Timestamp;+using Windows.UI.Xaml;+using Windows.UI.Xaml.Controls;+using Windows.UI.Xaml.Navigation;++namespace DevToys.Views.Tools.Timestamp+{+ public sealed partial class TimestampToolPage : Page+ {+ public readonly static double MinimumTimestamp = (double)long.MinValue;+ public readonly static double MaximumTimestamp = (double)long.MaxValue;++ public static readonly DependencyProperty ViewModelProperty+ = DependencyProperty.Register(+ nameof(ViewModel),+ typeof(TimestampToolViewModel),+ typeof(TimestampToolPage),+ new PropertyMetadata(null));++ /// <summary>+ /// Gets the page's view model.+ /// </summary>+ public TimestampToolViewModel ViewModel+ {+ get => (TimestampToolViewModel)GetValue(ViewModelProperty);+ set => SetValue(ViewModelProperty, value);+ }++ public TimestampToolPage()+ {+ InitializeComponent();+ }++ protected override void OnNavigatedTo(NavigationEventArgs e)+ {+ var parameters = (NavigationParameter)e.Parameter;++ if (ViewModel is null)+ {+ // Set the view model+ Assumes.NotNull(parameters.ViewModel, nameof(parameters.ViewModel));+ ViewModel = (TimestampToolViewModel)parameters.ViewModel!;+ DataContext = ViewModel;+ }++ if (!string.IsNullOrWhiteSpace(parameters.ClipBoardContent))+ {+ if (long.TryParse(parameters.ClipBoardContent, out long timestamp))+ {+ ViewModel.Timestamp = timestamp;+ }+ else if (DateTime.TryParse(parameters.ClipBoardContent, out DateTime localDateTime))+ {+ ViewModel.Timestamp = new DateTimeOffset(localDateTime.ToUniversalTime()).ToUnixTimeSeconds();+ }+ }++ base.OnNavigatedTo(e);+ }+ }+}