/// <summary>
 /// Adds a value of the specified unit to a DateTime taking a timezone into consideration.
 /// </summary>
 /// <param name="this">The original DateTime.</param>
 /// <param name="value">The value to be added.</param>
 /// <param name="unit">The unit.</param>
 /// <param name="timezone">The timezone.</param>
 /// <returns>The resulting DateTime.</returns>
 /// <remarks>See the server documentation for $dateAdd for information on timezones in MongoDB.</remarks>
 public static DateTime Add(this DateTime @this, long value, DateTimeUnit unit, string timezone)
 {
     throw new InvalidOperationException("This DateTime.Add method is only intended to be used in LINQ queries.");
 }
 /// <summary>
 /// Subtracts a value of the specified unit from a DateTime.
 /// </summary>
 /// <param name="this">The original DateTime.</param>
 /// <param name="value">The value to be added.</param>
 /// <param name="unit">The unit.</param>
 /// <returns>The resulting DateTime.</returns>
 public static DateTime Subtract(this DateTime @this, long value, DateTimeUnit unit)
 {
     throw new InvalidOperationException("This DateTime.Subtract method is only intended to be used in LINQ queries.");
 }
 /// <summary>
 /// Truncates a DateTime value to the specified unit and bin size taking a timezone into consideration.
 /// </summary>
 /// <param name="this">The original DateTime.</param>
 /// <param name="unit">The unit.</param>
 /// <param name="binSize">The bin size.</param>
 /// <param name="timezone">The timezone.</param>
 /// <returns>The resulting DateTime.</returns>
 /// <remarks>See the server documentation for $dateTrunc for information on timezones in MongoDB.</remarks>
 public static DateTime Truncate(this DateTime @this, DateTimeUnit unit, long binSize, string timezone)
 {
     throw new InvalidOperationException("This DateTime.Truncate method is only intended to be used in LINQ queries.");
 }
 /// <summary>
 /// Subtracts the start date from the end date returning the result in the specified unit taking a timezone into consideration.
 /// </summary>
 /// <param name="this">The original DateTime.</param>
 /// <param name="startDate">The start date.</param>
 /// <param name="unit">The unit.</param>
 /// <param name="timezone">The timezone.</param>
 /// <returns>The result.</returns>
 /// <remarks>See the server documentation for $dateDiff for information on timezones in MongoDB.</remarks>
 public static long Subtract(this DateTime @this, DateTime startDate, DateTimeUnit unit, string timezone)
 {
     throw new InvalidOperationException("This DateTime.Subtract method is only intended to be used in LINQ queries.");
 }