Export (0) Print
Expand All

Schedule Class

Represents a build definition schedule.

System.Object
  Microsoft.TeamFoundation.Build.Server.Schedule

Namespace:  Microsoft.TeamFoundation.Build.Server
Assembly:  Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)

[ClassVisibilityAttribute(ClientVisibility.Internal, ClientVisibility.Internal)]
public sealed class Schedule

The Schedule type exposes the following members.

  NameDescription
Public methodSchedule
Top

  NameDescription
Public propertyTimeZoneIdGets or sets the time zone ID. This value is used for applying daylight savings time rules.
Public propertyUtcDaysToBuildGets or sets the days, in Coordinated Universal Time (UTC), that the schedule should run.
Public propertyUtcStartTimeGets or sets the offset past midnight, in seconds, that the schedule should run.
Top

  NameDescription
Public methodAdjustUtcStartTimeForDSTThis method will adjust the start time for DST. We start with when the schedule was saved in UTC then we go down 2 paths: First path - is add the days since saved to the utc last modified (no DST taken into account) and then we localize. Second path - localize the utc last modified then add the days since saved (this will now adjust for DST). The second path - the the first path gives us any DST change and we add this to our scheduled time.
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToString (Overrides Object.ToString().)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft