C# 클래스 tik4net.TikTimeHelper

Functions to convert MikroTik timespans to useable formats. Credits: D-Bullock
파일 보기 프로젝트 열기: danikf/tik4net

공개 메소드들

메소드 설명
FromTikTimeToSeconds ( string time ) : int

Convert a MikroTik time string to seconds

ToTikTime ( int seconds ) : string

Convert the seconds passed in to a MikroTik time string

ToTikTime ( long seconds ) : string

Convert the seconds passed in to a MikroTik time string

메소드 상세

FromTikTimeToSeconds() 공개 정적인 메소드

Convert a MikroTik time string to seconds
public static FromTikTimeToSeconds ( string time ) : int
time string The time as specified by MikroTik
리턴 int

ToTikTime() 공개 정적인 메소드

Convert the seconds passed in to a MikroTik time string
public static ToTikTime ( int seconds ) : string
seconds int
리턴 string

ToTikTime() 공개 정적인 메소드

Convert the seconds passed in to a MikroTik time string
public static ToTikTime ( long seconds ) : string
seconds long
리턴 string