UCLA EXTENSION COURSES FOR NYS LICENSE 150CREDIT REQUIREMENTS?

Has anyone taken UCLA Extension courses to meet NYS 150hrs credit requirement? Also, if the courses is 4 Credits, does that translate to say 4 Credits if I were to take the same course at a local University (in NYC) even though the course is only from Jan-Mar? Thank you for your responses.