블로그
-
[영국문화원] 191105 Academic background
Secondary education: Grade A, Grade D Undergraduate degree: first-class honours(;a rank of the highest academic standard), second-class honours, third-class honours Master's degree: distiction(;high mark
blog.naver.com · 2019.11.05
-
(iOS) ios 13 Notification device token 이슈
32, bytes = 0xd3d997af 967d1f43 b405374a 13394d2f ... 28f10282 14af515f } 그래서 기존 토큰을 파싱하는 부분을 Swift class 0 if length == 0 { return nil } let buffer = UInt8(deviceToken?.bytes ??
blog.naver.com · 2019.10.17
-
(Swift) 1000 to k 10000 to M 단위 변환 하기
func formatPoints(num: Double) ->String{ let thousandNum = num/1000 let millionNum = num/1000000 if ))k") } return("\(self.roundToPlaces(ori: thousandNum, places: 1))k") } if nu.......
blog.naver.com · 2019.09.02
-
(Swift / iOS) 방금 / 몇 분전 / 몇시간전 / 몇일 전/ 몇년전 문자열로 표현하기
몇 분전 / 몇시간전 / 몇일 전/ 몇년전 문자열로 표현하기 사용법 DateUtils.getDateInterval(strDate: "2019-09-03 18:01:00") 소스 class 24; var DAY:Int64 = 30; var MONTH:Int64 = 12; var diffTime = def / 1000 print(" diffTime ",diffTime) if
blog.naver.com · 2019.09.03
-
18.12.06 JAVA
import java.io.FileNotFoundException; import java.io.FileReader; import java.util.Scanner; public class (k==arr[m]) { System.out.println(m+"에서 찾음"); break; } if(kh) System.out.println("못찾음"); } } ---------
blog.naver.com · 2018.12.06
-
자바
.*; class DoubleDice extends JPanel implements MouseListener { int die1 = 4; int die2 = 3; public DoubleDice (val > 1) g.fillOval(x + 3, y + 3, 9, 9); if (val > 3) g.fillOval(x.......
blog.naver.com · 2018.09.11
-
18.09.16
.*; class Dice { int x, y; int color_R, color_G, color_B; int count; public Dice(int x, int y, int color_R color_B); g.setColor(Color.WHITE); //주사위 바탕 g.fillRect(x, y, 100, 100); g.setColor(Color.BLACK); //주사위 점 if
blog.naver.com · 2018.09.16
-
public class ArrayList
package list.arraylist.implementation; public class ArrayList { private int size = 0; private Object[ public String toString() { String str = "["; for(int i = 0; i < size; i++) { str += elementData[i]; if
blog.naver.com · 2018.09.17
-
Java 4일차
1. class final class: 상속을 허용하지 않는 클래스 public > package > private > protected: 순으로 보안(내재 사용) 조건문 후에 {}가 필수인 것은 아니다. ex) if (a==1) break; 6. switch함수 switch (변수 *조건이 아닌 변.......
blog.naver.com · 2018.07.13
-
18.03.12 Java
= new Scanner(System.in); System.out.println("컵사이즈 입력"); a=sc.nextInt(); /* nested-if 로직 if(a>=100 */ /*else-if 로직*/ if(a
blog.naver.com · 2018.03.12