1. Download our Official Android App: Forums for Android!

Apps Import Calendar, Date and SimpleDateFormat in Android

Discussion in 'Android Development' started by ac4android, Feb 24, 2016.

  1. ac4android

    ac4android Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    53
    Posts:
    198
    Joined:
    Nov 3, 2015

    Nov 3, 2015
    198
    29
    53
    Hi.

    I am trying to import Java Calendar, Date and SimpleDateFormat classes in my Android app.

    I blame it on the gravitational waves!
     

    Advertisement

  2. LV426

    LV426 I say we take off and nuke this place from orbit
    Recognized Developer
    Rank:
     #12
    Points:
    1,988
    Posts:
    9,176
    Joined:
    Oct 16, 2015

    Oct 16, 2015
    9,176
    13,681
    1,988
    Male
    Software developer
    South West of England
    Just declare and use variables of those types, and your IDE will add the import statements for you.
     

Share This Page

Loading...