diff --git a/PocketSharp/Utilities.cs b/PocketSharp/Utilities.cs index 181a8dd..3beedd7 100644 --- a/PocketSharp/Utilities.cs +++ b/PocketSharp/Utilities.cs @@ -6,8 +6,16 @@ using System.Text; namespace PocketSharp { + /// + /// General utilities + /// internal class Utilities { + /// + /// converts DateTime to an UNIX timestamp + /// + /// The date. + /// UNIX timestamp public static int? GetUnixTimestamp(DateTime? dateTime) { if(dateTime == null) return null; @@ -16,6 +24,13 @@ namespace PocketSharp } + /// + /// Creates a Parameter object. + /// + /// The name. + /// The value. + /// The type. + /// public static Parameter CreateParam(string name, object value, ParameterType type = ParameterType.GetOrPost) { return new Parameter()