Skip to content

Commit d366345

Browse files
authored
Update TimeZone SDK member variable names (#47439)
* Update member variable names * Fix typo
1 parent 529e8fa commit d366345

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

sdk/maps/Azure.Maps.TimeZones/api/Azure.Maps.TimeZones.net8.0.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ internal ReferenceTime() { }
9191
public System.TimeSpan DaylightSavingsOffset { get { throw null; } }
9292
public string PosixTimeZone { get { throw null; } }
9393
public int? PosixTimeZoneValidYear { get { throw null; } }
94-
public System.TimeSpan StandardOffsetTimeSpan { get { throw null; } }
94+
public System.TimeSpan StandardOffset { get { throw null; } }
9595
public System.DateTimeOffset? Sunrise { get { throw null; } }
9696
public System.DateTimeOffset? Sunset { get { throw null; } }
9797
public string Tag { get { throw null; } }
@@ -101,7 +101,7 @@ public partial class TimeTransition
101101
{
102102
internal TimeTransition() { }
103103
public System.TimeSpan DaylightSavingsOffset { get { throw null; } }
104-
public System.TimeSpan StandardOffsetTimeSpan { get { throw null; } }
104+
public System.TimeSpan StandardOffset { get { throw null; } }
105105
public string Tag { get { throw null; } }
106106
public System.DateTimeOffset? UtcEnd { get { throw null; } }
107107
public System.DateTimeOffset? UtcStart { get { throw null; } }

sdk/maps/Azure.Maps.TimeZones/api/Azure.Maps.TimeZones.netstandard2.0.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ internal ReferenceTime() { }
9191
public System.TimeSpan DaylightSavingsOffset { get { throw null; } }
9292
public string PosixTimeZone { get { throw null; } }
9393
public int? PosixTimeZoneValidYear { get { throw null; } }
94-
public System.TimeSpan StandardOffsetTimeSpan { get { throw null; } }
94+
public System.TimeSpan StandardOffset { get { throw null; } }
9595
public System.DateTimeOffset? Sunrise { get { throw null; } }
9696
public System.DateTimeOffset? Sunset { get { throw null; } }
9797
public string Tag { get { throw null; } }
@@ -101,7 +101,7 @@ public partial class TimeTransition
101101
{
102102
internal TimeTransition() { }
103103
public System.TimeSpan DaylightSavingsOffset { get { throw null; } }
104-
public System.TimeSpan StandardOffsetTimeSpan { get { throw null; } }
104+
public System.TimeSpan StandardOffset { get { throw null; } }
105105
public string Tag { get { throw null; } }
106106
public System.DateTimeOffset? UtcEnd { get { throw null; } }
107107
public System.DateTimeOffset? UtcStart { get { throw null; } }

sdk/maps/Azure.Maps.TimeZones/src/Models/ReferenceTime.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ internal ReferenceTime(string tag, string standardOffset, string daylightSavings
2626
_standardOffset = standardOffset;
2727
if (TimeSpan.TryParse(standardOffset, out TimeSpan StandardOffsetValue))
2828
{
29-
StandardOffsetTimeSpan = StandardOffsetValue;
29+
StandardOffset = StandardOffsetValue;
3030
}
3131

3232
_daylightSavings = daylightSavings;
@@ -50,7 +50,7 @@ internal ReferenceTime(string tag, string standardOffset, string daylightSavings
5050
[CodeGenMember("StandardOffset")]
5151
internal string _standardOffset { get; }
5252
/// <summary> UTC offset in <see cref="TimeSpan"/> format in effect at the <c>ReferenceUTCTimestamp</c>. </summary>
53-
public TimeSpan StandardOffsetTimeSpan { get; }
53+
public TimeSpan StandardOffset { get; }
5454

5555
[CodeGenMember("DaylightSavings")]
5656
internal string _daylightSavings { get; }

sdk/maps/Azure.Maps.TimeZones/src/Models/TimeTransition.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ internal TimeTransition(string tag, string standardOffset, string daylightSaving
2424
_standardOffset = standardOffset;
2525
if (TimeSpan.TryParse(standardOffset, out TimeSpan StandardOffsetValue))
2626
{
27-
StandardOffsetTimeSpan = StandardOffsetValue;
27+
StandardOffset = StandardOffsetValue;
2828
}
2929

3030
_daylightSavings = daylightSavings;
@@ -40,7 +40,7 @@ internal TimeTransition(string tag, string standardOffset, string daylightSaving
4040
[CodeGenMember("StandardOffset")]
4141
internal string _standardOffset { get; }
4242
/// <summary> UTC offset in <see cref="TimeSpan"/> format in effect at the <c>ReferenceUTCTimestamp</c>. </summary>
43-
public TimeSpan StandardOffsetTimeSpan { get; }
43+
public TimeSpan StandardOffset { get; }
4444

4545
[CodeGenMember("DaylightSavings")]
4646
internal string _daylightSavings { get; }

0 commit comments

Comments
 (0)