C# 클래스 Netduino.WebServer.Core.Utilities.SyncTime

파일 보기 프로젝트 열기: martinbuberl/Netduino

공개 메소드들

메소드 설명
Update ( string timeServer, int timeZoneOffset ) : bool

Synchronize Netduino's local time with a time server (NTP).

비공개 메소드들

메소드 설명
GetNtpTime ( String timeServer, int timeZoneOffset ) : System.DateTime

메소드 상세

Update() 공개 정적인 메소드

Synchronize Netduino's local time with a time server (NTP).
public static Update ( string timeServer, int timeZoneOffset ) : bool
timeServer string Time server (NTP) address e.g. 'time.nist.gov'.
timeZoneOffset int Time zone difference in hours from UTC.
리턴 bool