Advertisement
gmo61520

Untitled

Oct 27th, 2016
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. TimeSpan Parse(string v){
  2. try {
  3. return TimeSpan.Parse(v);
  4. } catch(Exception e){
  5. throw new Exception("Cannot parse '" + v + "' as TimeSpan", e);
  6. }
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement