C# Class tik4net.TikTimeHelper

Functions to convert MikroTik timespans to useable formats. Credits: D-Bullock
Afficher le fichier Open project: danikf/tik4net

Méthodes publiques

Méthode Description
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

Method Details

FromTikTimeToSeconds() public static méthode

Convert a MikroTik time string to seconds
public static FromTikTimeToSeconds ( string time ) : int
time string The time as specified by MikroTik
Résultat int

ToTikTime() public static méthode

Convert the seconds passed in to a MikroTik time string
public static ToTikTime ( int seconds ) : string
seconds int
Résultat string

ToTikTime() public static méthode

Convert the seconds passed in to a MikroTik time string
public static ToTikTime ( long seconds ) : string
seconds long
Résultat string