Logo Search packages:      
Sourcecode: f-spot version File versions

static internal DateTime FlickrNet::Utils::UnixTimestampToDate ( string  timestamp  )  [inline, static, private]

Converts a string, representing a unix timestamp number into a DateTime object.

Parameters:
timestamp The timestamp, as a string.
Returns:
The DateTime object the time represents.

Definition at line 75 of file Utils.cs.

            {
                  if( timestamp == null || timestamp.Length == 0 ) return DateTime.MinValue;

                  return UnixTimestampToDate(long.Parse(timestamp));
            }


Generated by  Doxygen 1.6.0   Back to index