package Ġcom . c ree pers an . switch host . manager Ċ Ċ import Ġandroid . os . Build Ċ import Ġcom . c ree pers an . switch host . application . Switch Host Application Ċ import Ġjava . text . SimpleDateFormat Ċ import Ġjava . util .* Ċ Ċ object ĠFormat Manager Ġ{ ĊĠĠĠ Ġprivate Ġval Ġm Simple Formatter Ġ= ĠSimpleDateFormat (" YYYY _ MM _ dd _ HH _ mm _ ss ", Ġget Locale ()) ĊĊĠĠĠ Ġprivate Ġfun Ġget Locale (): Locale { ĊĠĠĠĠĠĠĠ Ġreturn Ġif Ġ( Build . VERSION . SDK _ INT Ġ>= ĠBuild . VERSION _ CODES . N ){ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠSwitch Host Application . getInstance (). resources . configuration . locales [ 0 ] ĊĠĠĠĠĠĠĠ Ġ} else { ĊĠĠĠĠĠĠĠĠĠĠĠ ĠSwitch Host Application . getInstance (). resources . configuration . locale ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġformat Backup File Times ( time Stamp : Long ): String { ĊĠĠĠĠĠĠĠ Ġreturn Ġm Simple Formatter . format ( time Stamp ) ĊĠĠĠ Ġ} Ċ Ċ }