Java Object Convert to objToTimeLong(Object obj)

Here you can find the source of objToTimeLong(Object obj)

Description

obj To Time Long

License

Open Source License

Declaration

public static Long objToTimeLong(Object obj) 

Method Source Code

//package com.java2s;

public class Main {

    public static Long objToTimeLong(Object obj) {
        Long l = null;//from ww w  .j  ava2 s . c o m
        if (obj != null) {
            l = (Long) obj;
        }
        return l;
    }
}

Related

  1. objToBoolean(Object o)
  2. objToLong(Object obj)
  3. objToPrim()